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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 113.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 185.9 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4773, allocations: 60.82 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001474/0.4788, allocations: 0.4898 MB / 0.52 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.4796, allocations: 365.3 kB / 0.5204 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.4797, allocations: 0 / 0.5204 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.4797, allocations: 0 / 0.5204 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.4797, allocations: 5 kB / 0.5204 GB, free: 3.066 MB / 382.1 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.001026/0.4808, allocations: 199.5 kB / 0.5206 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.4808, allocations: 9.828 kB / 0.5206 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.4809, allocations: 5.953 kB / 0.5206 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.4809, allocations: 5.094 kB / 0.5206 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.481, allocations: 0.5156 kB / 0.5206 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.481, allocations: 1.125 kB / 0.5206 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.4816, allocations: 205.9 kB / 0.5208 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.4816, allocations: 0 / 0.5208 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.4816, allocations: 1.25 kB / 0.5208 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.482, allocations: 152.6 kB / 0.5209 GB, free: 2.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.482, allocations: 1.312 kB / 0.5209 GB, free: 2.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.482, allocations: 0 / 0.5209 GB, free: 2.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.482, allocations: 4 kB / 0.5209 GB, free: 2.855 MB / 382.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.000369/0.4824, allocations: 368.8 kB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4825, allocations: 9.25 kB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.4825, allocations: 0.9375 kB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.568e-05/0.4826, allocations: 165.6 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4826, allocations: 1.844 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.4826, allocations: 1.812 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.166e-05/0.4827, allocations: 29.08 kB / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4827, allocations: 4.188 kB / 0.5215 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4827, allocations: 6.172 kB / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4827, allocations: 4 kB / 0.5215 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.4828, allocations: 1.469 kB / 0.5215 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.4829, allocations: 144.5 kB / 0.5217 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.4829, allocations: 24.5 kB / 0.5217 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.4829, allocations: 6.812 kB / 0.5217 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.483, allocations: 0.875 kB / 0.5217 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.483, allocations: 62.22 kB / 0.5217 GB, free: 1.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.483, allocations: 0 / 0.5217 GB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001882/0.4832, allocations: 64.91 kB / 0.5218 GB, free: 1.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.4832, allocations: 79.03 kB / 0.5219 GB, free: 1.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.014e-05/0.4833, allocations: 93.86 kB / 0.522 GB, free: 1.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.4833, allocations: 31.08 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.4833, allocations: 80.94 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.4833, allocations: 4.125 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4834, allocations: 12.2 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.4834, allocations: 312.6 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.4834, allocations: 1.156 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.4835, allocations: 6.422 kB / 0.5224 GB, free: 1.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.4835, allocations: 63.8 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4835, allocations: 0 / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.711e-05/0.4836, allocations: 64.12 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4836, allocations: 35.67 kB / 0.5226 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4836, allocations: 1.031 kB / 0.5226 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4837, allocations: 4.734 kB / 0.5226 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.4837, allocations: 3.938 kB / 0.5226 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.4837, allocations: 1.219 kB / 0.5226 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.4837, allocations: 0.5156 kB / 0.5226 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4837, allocations: 1.125 kB / 0.5226 GB, free: 1.016 MB / 382.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 6.757e-05/0.4838, allocations: 135.2 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.4838, allocations: 5.094 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.4838, allocations: 11.69 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4838, allocations: 5.766 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4838, allocations: 0 / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.4839, allocations: 77.81 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4839, allocations: 1.625 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.4839, allocations: 1.031 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.4839, allocations: 1.812 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.919e-05/0.484, allocations: 196.9 kB / 0.523 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.25e-05/0.4841, allocations: 247.2 kB / 0.5232 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.912e-05/0.4841, allocations: 6.594 kB / 0.5232 GB, free: 304 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.23e-05/0.4842, allocations: 75.28 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of Backend: time 1.61e-07/0.4842, allocations: 1.25 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.4848, allocations: 221.8 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of SimCode: time 0.0003549/0.4852, allocations: 0.5818 MB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of Templates: time 0.004765/0.49, allocations: 1.587 MB / 0.5256 GB, free: 15.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches