Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 77.23 kB / 19.93 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.103e-05/4.369e-05, allocations: 2.281 kB / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002294/0.002338, allocations: 0.4909 MB / 407.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.003306, allocations: 357.5 kB / 408.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.003322, allocations: 0 / 408.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.003335, allocations: 0 / 408.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.655e-06/0.003343, allocations: 0 / 408.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.004404, allocations: 199.4 kB / 408.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.004456, allocations: 0 / 408.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.004507, allocations: 8 kB / 408.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.004539, allocations: 0 / 408.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.626e-05/0.004566, allocations: 0 / 408.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.004575, allocations: 0 / 408.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.005033, allocations: 211.5 kB / 408.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.005046, allocations: 0 / 408.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.005079, allocations: 7.938 kB / 408.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.005549, allocations: 171.6 kB / 408.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.005553, allocations: 0 / 408.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005554, allocations: 0 / 408.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005559, allocations: 0 / 408.8 MB, free: 1.613 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005746/0.006133, allocations: 288 kB / 409.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.006191, allocations: 12.03 kB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.006242, allocations: 0.9375 kB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.006372, allocations: 101.8 kB / 409.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.006393, allocations: 8.312 kB / 409.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.006402, allocations: 384 / 409.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006539, allocations: 67.89 kB / 409.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006551, allocations: 192 / 409.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.006561, allocations: 384 / 409.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.006566, allocations: 384 / 409.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.006614, allocations: 29.64 kB / 409.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.006799, allocations: 105.3 kB / 409.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.006889, allocations: 48.2 kB / 409.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.006928, allocations: 34.66 kB / 409.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.00694, allocations: 0 / 409.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.007095, allocations: 64.2 kB / 409.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.007096, allocations: 0 / 409.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003194/0.007415, allocations: 114.8 kB / 409.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.007513, allocations: 81.11 kB / 409.7 MB, free: 496 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.007596, allocations: 89.86 kB / 409.8 MB, free: 396 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.007627, allocations: 29.7 kB / 409.8 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.007676, allocations: 84.27 kB / 409.9 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.007703, allocations: 3.953 kB / 409.9 MB, free: 268 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.007757, allocations: 13.72 kB / 409.9 MB, free: 248 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.007972, allocations: 314.8 kB / 410.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.008004, allocations: 25.7 kB / 410.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.008031, allocations: 33.69 kB / 410.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.008111, allocations: 72.2 kB / 410.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008113, allocations: 0 / 410.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/0.008225, allocations: 85.11 kB / 410.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.008269, allocations: 37.78 kB / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.008275, allocations: 0 / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.008292, allocations: 0 / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.008293, allocations: 0 / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008299, allocations: 0 / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.008322, allocations: 7.938 kB / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.00833, allocations: 0 / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.008472, allocations: 135.5 kB / 410.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.008486, allocations: 4 kB / 410.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.008499, allocations: 3 kB / 410.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008501, allocations: 4 kB / 410.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.008506, allocations: 0 / 410.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.008512, allocations: 3.984 kB / 410.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.008612, allocations: 101.3 kB / 410.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.008613, allocations: 0 / 410.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.008614, allocations: 3.938 kB / 410.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008615, allocations: 3.938 kB / 410.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.008623, allocations: 0 / 410.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.008625, allocations: 3.938 kB / 410.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008626, allocations: 0 / 410.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.008773, allocations: 120.5 kB / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.008781, allocations: 8.031 kB / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.008808, allocations: 0 / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.008818, allocations: 0 / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.008836, allocations: 0 / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.008845, allocations: 4 kB / 410.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.008886, allocations: 79.27 kB / 410.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008886, allocations: 0 / 410.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.009232, allocations: 47.88 kB / 411 MB, free: 15.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/0.009758, allocations: 200.5 kB / 411.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.0099, allocations: 114.7 kB / 411.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.009903, allocations: 4 kB / 411.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.009961, allocations: 81.11 kB / 411.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.0101, allocations: 6.344 kB / 411.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.01035, allocations: 102.8 kB / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.01041, allocations: 55.36 kB / 411.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.482e-06/0.01042, allocations: 0 / 411.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.01044, allocations: 8.5 kB / 411.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.01044, allocations: 4.125 kB / 411.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Templates: time 0.005927/0.01636, allocations: 1.461 MB / 413 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093474421650171]