Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008061/0.0008103, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 63.57 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005795/0.1354, allocations: 217.2 kB / 483.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1362, allocations: 371.4 kB / 483.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-06/0.1362, allocations: 4 kB / 483.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1362, allocations: 0 / 483.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.997e-06/0.1362, allocations: 0 / 483.7 MB, free: 3.59 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0006634/0.1369, allocations: 155.7 kB / 483.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.792e-05/0.137, allocations: 0 / 483.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.137, allocations: 3.984 kB / 483.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.137, allocations: 3.938 kB / 483.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.137, allocations: 4 kB / 483.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-06/0.1371, allocations: 0 / 483.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1373, allocations: 163.7 kB / 484 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1374, allocations: 3.984 kB / 484 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1374, allocations: 29.7 kB / 484 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1376, allocations: 159.7 kB / 484.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1377, allocations: 0 / 484.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1377, allocations: 0 / 484.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1377, allocations: 0 / 484.2 MB, free: 3.07 MB / 350.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.0003196/0.138, allocations: 361.2 kB / 484.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.138, allocations: 12.88 kB / 484.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1381, allocations: 0.9375 kB / 484.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.662e-05/0.1382, allocations: 164.3 kB / 484.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1382, allocations: 4.375 kB / 484.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1382, allocations: 384 / 484.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.1383, allocations: 38.2 kB / 484.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.1383, allocations: 192 / 484.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1383, allocations: 3.938 kB / 484.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1383, allocations: 0 / 484.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.1383, allocations: 7.969 kB / 484.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.1385, allocations: 145.7 kB / 484.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.1385, allocations: 18.58 kB / 484.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.1385, allocations: 8.953 kB / 484.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.1386, allocations: 3.938 kB / 484.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.1386, allocations: 60.27 kB / 485 MB, free: 2.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1386, allocations: 0 / 485 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.1388, allocations: 67.33 kB / 485.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1388, allocations: 77.11 kB / 485.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.1389, allocations: 93.98 kB / 485.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1389, allocations: 25.7 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.1389, allocations: 80.14 kB / 485.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.139, allocations: 8 kB / 485.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.139, allocations: 9.719 kB / 485.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1391, allocations: 314.8 kB / 485.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.1391, allocations: 0 / 485.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.1391, allocations: 3.938 kB / 485.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.1392, allocations: 64.33 kB / 485.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1392, allocations: 0 / 485.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.522e-05/0.1393, allocations: 63.41 kB / 485.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.1393, allocations: 33.69 kB / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1393, allocations: 11.94 kB / 485.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1393, allocations: 3.938 kB / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1393, allocations: 0 / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1394, allocations: 0 / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.1394, allocations: 0 / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1394, allocations: 0 / 485.8 MB, free: 1.145 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 6.871e-05/0.1395, allocations: 139.6 kB / 486 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-06/0.1395, allocations: 0 / 486 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-06/0.1395, allocations: 11 kB / 486 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1395, allocations: 0 / 486 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1395, allocations: 0 / 486 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1395, allocations: 7.984 kB / 486 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.985e-05/0.1396, allocations: 141.7 kB / 486.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1396, allocations: 0 / 486.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.1396, allocations: 3.938 kB / 486.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1396, allocations: 4 kB / 486.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.1396, allocations: 3.938 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1396, allocations: 4 kB / 486.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1396, allocations: 0 / 486.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.1398, allocations: 90.83 kB / 486.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.1398, allocations: 81.11 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1398, allocations: 3.938 kB / 486.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1398, allocations: 0 / 486.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1398, allocations: 8.016 kB / 486.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1399, allocations: 0 / 486.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.139e-05/0.1399, allocations: 75.28 kB / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1399, allocations: 4 kB / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1402, allocations: 51.94 kB / 486.4 MB, free: 432 kB / 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.0004255/0.1406, allocations: 193.2 kB / 486.6 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.1407, allocations: 59.41 kB / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1407, allocations: 0 / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.1407, allocations: 55.41 kB / 486.7 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1409, allocations: 3.984 kB / 486.7 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.1411, allocations: 82.67 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1413, allocations: 0.6692 MB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.51e-06/0.1413, allocations: 0 / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.1414, allocations: 11.44 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1414, allocations: 4.125 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004087/0.1455, allocations: 1.573 MB / 489.1 MB, free: 13.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches