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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000971/0.0009711, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 86.62 kB / 261.7 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.369e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5493, allocations: 84.2 MB / 0.5481 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.5496, allocations: 61.36 kB / 0.5482 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004953/0.5545, allocations: 2.16 MB / 0.5503 GB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5545, allocations: 0 / 0.5503 GB, free: 8.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.5546, allocations: 0 / 0.5503 GB, free: 8.32 MB / 362.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.0002377/0.5548, allocations: 363.3 kB / 0.5507 GB, free: 7.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5548, allocations: 8.031 kB / 0.5507 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.5549, allocations: 0 / 0.5507 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.5549, allocations: 167 kB / 0.5508 GB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.555, allocations: 1.031 kB / 0.5508 GB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.555, allocations: 4 kB / 0.5508 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.974e-05/0.555, allocations: 8.438 kB / 0.5508 GB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.376e-05/0.5551, allocations: 29.7 kB / 0.5509 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5551, allocations: 3.938 kB / 0.5509 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.5551, allocations: 0 / 0.5509 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5551, allocations: 3.984 kB / 0.5509 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.5552, allocations: 137.6 kB / 0.551 GB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.767e-05/0.5553, allocations: 14.58 kB / 0.551 GB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-06/0.5553, allocations: 4.859 kB / 0.551 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.5553, allocations: 0 / 0.551 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.5553, allocations: 64.36 kB / 0.5511 GB, free: 7.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5554, allocations: 0 / 0.5511 GB, free: 7.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.5555, allocations: 33.64 kB / 0.5511 GB, free: 7.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5556, allocations: 77.11 kB / 0.5512 GB, free: 7.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.5556, allocations: 92 kB / 0.5513 GB, free: 7.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.5556, allocations: 29.64 kB / 0.5513 GB, free: 7.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.5556, allocations: 84.12 kB / 0.5514 GB, free: 7.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5557, allocations: 0 / 0.5514 GB, free: 7.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.5557, allocations: 4.031 kB / 0.5514 GB, free: 7.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.5557, allocations: 310.8 kB / 0.5517 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.5557, allocations: 0 / 0.5517 GB, free: 6.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.5557, allocations: 4 kB / 0.5517 GB, free: 6.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.5558, allocations: 0 / 0.5517 GB, free: 6.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5558, allocations: 0 / 0.5517 GB, free: 6.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.404e-05/0.5558, allocations: 40.66 kB / 0.5517 GB, free: 6.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5559, allocations: 37.62 kB / 0.5518 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5559, allocations: 4.094 kB / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5559, allocations: 0 / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.5559, allocations: 0 / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5559, allocations: 0 / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.5559, allocations: 0 / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.556, allocations: 4 kB / 0.5518 GB, free: 6.617 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.556, allocations: 126.7 kB / 0.5519 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.556, allocations: 3.953 kB / 0.5519 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.097e-05/0.556, allocations: 7.75 kB / 0.5519 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.556, allocations: 4 kB / 0.5519 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.556, allocations: 0 / 0.5519 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5561, allocations: 0 / 0.5519 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.673e-05/0.5561, allocations: 126.2 kB / 0.552 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5561, allocations: 3.938 kB / 0.552 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.5561, allocations: 0 / 0.552 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5561, allocations: 0 / 0.552 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.5561, allocations: 4 kB / 0.552 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5561, allocations: 3.953 kB / 0.552 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5561, allocations: 0.7031 kB / 0.552 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.801e-05/0.5562, allocations: 69.75 kB / 0.5521 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5563, allocations: 81.05 kB / 0.5522 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5563, allocations: 4 kB / 0.5522 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.5563, allocations: 0 / 0.5522 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.5563, allocations: 3.953 kB / 0.5522 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5563, allocations: 4 kB / 0.5522 GB, free: 6.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.5563, allocations: 75.28 kB / 0.5523 GB, free: 6.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5563, allocations: 0 / 0.5523 GB, free: 6.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5566, allocations: 66.95 kB / 0.5523 GB, free: 5.973 MB / 362.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003902/0.557, allocations: 188.3 kB / 0.5525 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.681e-05/0.5571, allocations: 55.41 kB / 0.5526 GB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5571, allocations: 0 / 0.5526 GB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.5571, allocations: 59.39 kB / 0.5526 GB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.748e-05/0.5572, allocations: 7.547 kB / 0.5526 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001271/0.5574, allocations: 51.33 kB / 0.5527 GB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.5575, allocations: 0.6806 MB / 0.5533 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.5575, allocations: 0 / 0.5533 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.5575, allocations: 7.438 kB / 0.5534 GB, free: 4.863 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5575, allocations: 0 / 0.5534 GB, free: 4.863 MB / 362.7 MB Notification: Performance of Templates: time 0.00399/0.5615, allocations: 1.695 MB / 0.555 GB, free: 3.184 MB / 362.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches