Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001221/0.001221, allocations: 83.69 kB / 21.43 MB, free: 3.125 MB / 18.57 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.005231/0.005231, allocations: 161.6 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8501/0.8501, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.892e-05, allocations: 4.672 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001004/0.001033, allocations: 0.4892 MB / 441.3 MB, free: 3.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.00173, allocations: 378.9 kB / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.001748, allocations: 0 / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.001764, allocations: 0 / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-06/0.001771, allocations: 0 / 441.7 MB, free: 2.91 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.002482, allocations: 209.2 kB / 441.9 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.00253, allocations: 0 / 441.9 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.002566, allocations: 4 kB / 441.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.002589, allocations: 0 / 441.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.002607, allocations: 3.938 kB / 441.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.002614, allocations: 0 / 441.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.002896, allocations: 231.5 kB / 442.1 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.002903, allocations: 0 / 442.1 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.002922, allocations: 0 / 442.1 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.003139, allocations: 183.5 kB / 442.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003142, allocations: 4 kB / 442.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003143, allocations: 0 / 442.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.003148, allocations: 0 / 442.3 MB, free: 2.289 MB / 410.7 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.0003345/0.003483, allocations: 287.9 kB / 442.6 MB, free: 1.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.003532, allocations: 8.031 kB / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.003569, allocations: 8.875 kB / 442.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.003636, allocations: 109.8 kB / 442.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.003648, allocations: 384 / 442.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.003657, allocations: 384 / 442.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.00376, allocations: 55.97 kB / 442.8 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.00377, allocations: 4.125 kB / 442.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.003781, allocations: 4.375 kB / 442.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003786, allocations: 384 / 442.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.003815, allocations: 33.64 kB / 442.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.307e-05/0.003908, allocations: 97.31 kB / 442.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.003955, allocations: 48.25 kB / 442.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.003977, allocations: 34.56 kB / 443 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.003984, allocations: 3.938 kB / 443 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.00402, allocations: 60.33 kB / 443 MB, free: 1.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.004021, allocations: 0 / 443 MB, free: 1.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001778/0.004199, allocations: 114.9 kB / 443.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.004245, allocations: 85.14 kB / 443.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.583e-05/0.004281, allocations: 93.8 kB / 443.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004292, allocations: 25.7 kB / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.004311, allocations: 80.14 kB / 443.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.004326, allocations: 7.953 kB / 443.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.004348, allocations: 9.719 kB / 443.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.004431, allocations: 318.8 kB / 443.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.004454, allocations: 29.69 kB / 443.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.004469, allocations: 29.7 kB / 443.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.004512, allocations: 68.33 kB / 443.9 MB, free: 460 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.004515, allocations: 0 / 443.9 MB, free: 460 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.004574, allocations: 89.09 kB / 444 MB, free: 352 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.004599, allocations: 29.7 kB / 444 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.004604, allocations: 0 / 444 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.00462, allocations: 4 kB / 444 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.004622, allocations: 3.938 kB / 444 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.004626, allocations: 0 / 444 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.004638, allocations: 3.938 kB / 444 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.004644, allocations: 0 / 444 MB, free: 304 kB / 410.7 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 6.024e-05/0.004704, allocations: 143.6 kB / 444.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-06/0.004707, allocations: 0 / 444.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.004719, allocations: 6.984 kB / 444.2 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.004721, allocations: 3.984 kB / 444.2 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.004725, allocations: 0 / 444.2 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004728, allocations: 4 kB / 444.2 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.195/0.1997, allocations: 97.27 kB / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1997, allocations: 0 / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.1997, allocations: 0 / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1997, allocations: 0 / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1997, allocations: 2.719 kB / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1997, allocations: 1.625 kB / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1997, allocations: 3.469 kB / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.1999, allocations: 120.8 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.1999, allocations: 8.922 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1999, allocations: 0.7812 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.1999, allocations: 2.594 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.1999, allocations: 0.7188 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1999, allocations: 0 / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.285e-05/0.1999, allocations: 75.84 kB / 444.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1999, allocations: 5.562 kB / 444.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.2002, allocations: 50.55 kB / 444.5 MB, free: 46.23 MB / 410.7 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.0004244/0.2007, allocations: 203.4 kB / 444.7 MB, free: 46.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2008, allocations: 118.6 kB / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2008, allocations: 0 / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.2008, allocations: 90.16 kB / 444.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.2009, allocations: 6.812 kB / 444.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.2012, allocations: 125.7 kB / 445.1 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.2012, allocations: 54.36 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2012, allocations: 11.78 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2012, allocations: 3.5 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of Templates: time 0.002457/0.2037, allocations: 1.51 MB / 446.6 MB, free: 45.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.1919291308149695]