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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001093/0.001093, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2418/0.2418, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.48 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 57.8 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001868/0.146, allocations: 0.4935 MB / 441 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007213/0.1468, allocations: 342.1 kB / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1468, allocations: 0 / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1469, allocations: 3.938 kB / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-06/0.1469, allocations: 0 / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.1477, allocations: 187.6 kB / 441.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.1477, allocations: 7.938 kB / 441.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1478, allocations: 0 / 441.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.1478, allocations: 0 / 441.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.174e-05/0.1478, allocations: 8 kB / 441.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-06/0.1478, allocations: 0 / 441.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1481, allocations: 159.7 kB / 441.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1481, allocations: 0 / 441.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1482, allocations: 0 / 441.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1484, allocations: 139.7 kB / 441.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1484, allocations: 4 kB / 441.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1484, allocations: 0 / 441.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1484, allocations: 0 / 441.8 MB, free: 5.602 MB / 318.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.0003964/0.1488, allocations: 365.2 kB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1489, allocations: 15.89 kB / 442.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1489, allocations: 0.9375 kB / 442.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.149, allocations: 160.4 kB / 442.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.149, allocations: 4.312 kB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.149, allocations: 384 / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1491, allocations: 42.23 kB / 442.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1491, allocations: 192 / 442.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1492, allocations: 3.938 kB / 442.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1492, allocations: 0 / 442.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.1492, allocations: 8 kB / 442.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.1493, allocations: 141.7 kB / 442.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.1494, allocations: 22.61 kB / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1494, allocations: 7.156 kB / 442.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1494, allocations: 0 / 442.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1495, allocations: 68.25 kB / 442.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1495, allocations: 0 / 442.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.1496, allocations: 67.34 kB / 442.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1497, allocations: 77.11 kB / 442.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.15e-05/0.1497, allocations: 93.8 kB / 442.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1498, allocations: 29.7 kB / 442.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1498, allocations: 80.14 kB / 443 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1498, allocations: 0 / 443 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1498, allocations: 17.7 kB / 443 MB, free: 4.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.1499, allocations: 318.9 kB / 443.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.1499, allocations: 7.938 kB / 443.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.1499, allocations: 0 / 443.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.15, allocations: 60.27 kB / 443.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.15, allocations: 0 / 443.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.299e-05/0.15, allocations: 67.39 kB / 443.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1501, allocations: 29.7 kB / 443.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1501, allocations: 0 / 443.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1501, allocations: 3.938 kB / 443.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.1501, allocations: 4.094 kB / 443.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1501, allocations: 4 kB / 443.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.1501, allocations: 288 / 443.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1502, allocations: 3.938 kB / 443.5 MB, free: 3.66 MB / 318.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 5.31e-05/0.1502, allocations: 135.5 kB / 443.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.1502, allocations: 7.984 kB / 443.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.107e-05/0.1502, allocations: 7.062 kB / 443.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.1503, allocations: 0 / 443.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1503, allocations: 3.984 kB / 443.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1503, allocations: 4 kB / 443.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.991e-05/0.1503, allocations: 149.6 kB / 443.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1503, allocations: 0 / 443.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1503, allocations: 0 / 443.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1503, allocations: 0 / 443.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1504, allocations: 11.92 kB / 443.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1504, allocations: 0 / 443.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1504, allocations: 0 / 443.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/0.1504, allocations: 90.84 kB / 443.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.1505, allocations: 81.09 kB / 444 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1505, allocations: 3.938 kB / 444 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.1505, allocations: 4 kB / 444 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1505, allocations: 3.938 kB / 444 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1505, allocations: 3.938 kB / 444 MB, free: 3.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.658e-05/0.1506, allocations: 75.28 kB / 444.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1506, allocations: 0 / 444.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1509, allocations: 44 kB / 444.1 MB, free: 2.938 MB / 318.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.000357/0.1513, allocations: 194.8 kB / 444.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.1514, allocations: 63.41 kB / 444.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1514, allocations: 0 / 444.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.1514, allocations: 51.41 kB / 444.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1515, allocations: 6.812 kB / 444.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001517/0.1517, allocations: 81.19 kB / 444.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1518, allocations: 0.6728 MB / 445.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.179e-06/0.1518, allocations: 0 / 445.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.1518, allocations: 11.44 kB / 445.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1518, allocations: 3.938 kB / 445.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of Templates: time 0.00352/0.1553, allocations: 1.421 MB / 446.6 MB, free: 372 kB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (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) 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) Reference file matches