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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.8 MB, free: 3.562 MB / 190.1 MB " [Timeout remaining time 178] 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.2238/0.2238, allocations: 44.91 MB / 349.6 MB, free: 1.699 MB / 270.1 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.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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 64.3 kB / 491.8 MB, free: 30.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1244, allocations: 64.26 MB / 0.543 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001748/0.1261, allocations: 0.4918 MB / 0.5435 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000923/0.1271, allocations: 375.3 kB / 0.5438 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.1271, allocations: 0 / 0.5438 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1271, allocations: 0 / 0.5438 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.1271, allocations: 0 / 0.5438 GB, free: 3.367 MB / 398.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.0008717/0.128, allocations: 207.1 kB / 0.544 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.128, allocations: 0 / 0.544 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.128, allocations: 0 / 0.544 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.1281, allocations: 7.938 kB / 0.544 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.1281, allocations: 4 kB / 0.544 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.1281, allocations: 0 / 0.544 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.1285, allocations: 223.6 kB / 0.5442 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1285, allocations: 3.984 kB / 0.5442 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.1285, allocations: 0 / 0.5442 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1288, allocations: 152 kB / 0.5444 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1288, allocations: 3.938 kB / 0.5444 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1288, allocations: 0 / 0.5444 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1288, allocations: 0 / 0.5444 GB, free: 2.781 MB / 398.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.0004225/0.1292, allocations: 377 kB / 0.5448 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1292, allocations: 8.031 kB / 0.5448 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1293, allocations: 30.75 kB / 0.5448 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.1293, allocations: 4.875 kB / 0.5448 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1294, allocations: 164.4 kB / 0.545 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1294, allocations: 4.375 kB / 0.545 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.1294, allocations: 384 / 0.545 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/0.1295, allocations: 26.27 kB / 0.545 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1295, allocations: 3.938 kB / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1295, allocations: 8 kB / 0.545 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1295, allocations: 0 / 0.545 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.1296, allocations: 7.938 kB / 0.545 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1297, allocations: 141.7 kB / 0.5451 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.51e-05/0.1298, allocations: 22.59 kB / 0.5452 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.1298, allocations: 8.844 kB / 0.5452 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-06/0.1298, allocations: 0 / 0.5452 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.1298, allocations: 64.33 kB / 0.5452 GB, free: 1.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1298, allocations: 0 / 0.5452 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001789/0.13, allocations: 71.27 kB / 0.5453 GB, free: 1.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.1301, allocations: 81.11 kB / 0.5454 GB, free: 1.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.1301, allocations: 89.86 kB / 0.5455 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1302, allocations: 25.7 kB / 0.5455 GB, free: 1.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1302, allocations: 80.14 kB / 0.5456 GB, free: 1.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1302, allocations: 0 / 0.5456 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1302, allocations: 25.84 kB / 0.5456 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1304, allocations: 310.8 kB / 0.5459 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.1304, allocations: 0 / 0.5459 GB, free: 1.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.1304, allocations: 4 kB / 0.5459 GB, free: 1.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.821e-05/0.1305, allocations: 64.25 kB / 0.5459 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1305, allocations: 0 / 0.5459 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.552e-05/0.1305, allocations: 71.28 kB / 0.546 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.1306, allocations: 31.58 kB / 0.546 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1306, allocations: 8.031 kB / 0.5461 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1306, allocations: 4 kB / 0.5461 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1306, allocations: 0 / 0.5461 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1306, allocations: 0 / 0.5461 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.1306, allocations: 3.953 kB / 0.5461 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1306, allocations: 3.984 kB / 0.5461 GB, free: 0.7891 MB / 398.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 9.684e-05/0.1307, allocations: 135.5 kB / 0.5462 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.1307, allocations: 0 / 0.5462 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.1307, allocations: 7.062 kB / 0.5462 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1307, allocations: 4 kB / 0.5462 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1307, allocations: 0 / 0.5462 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1307, allocations: 0 / 0.5462 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1309, allocations: 149.7 kB / 0.5463 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1309, allocations: 3.938 kB / 0.5464 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1309, allocations: 0 / 0.5464 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1309, allocations: 0 / 0.5464 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1309, allocations: 3.938 kB / 0.5464 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1309, allocations: 0 / 0.5464 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1309, allocations: 4 kB / 0.5464 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.131, allocations: 94.77 kB / 0.5465 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.131, allocations: 85.05 kB / 0.5465 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.131, allocations: 7.938 kB / 0.5465 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.131, allocations: 0 / 0.5465 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.1311, allocations: 0 / 0.5465 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1311, allocations: 0 / 0.5465 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.1311, allocations: 75.28 kB / 0.5466 GB, free: 124 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1311, allocations: 0 / 0.5466 GB, free: 124 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1314, allocations: 59.95 kB / 0.5467 GB, free: 64 kB / 398.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.0007789/0.1321, allocations: 0.7171 MB / 0.5474 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1322, allocations: 63.42 kB / 0.5474 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1322, allocations: 0 / 0.5474 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.1323, allocations: 55.41 kB / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1324, allocations: 13.97 kB / 0.5475 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.1328, allocations: 114.7 kB / 0.5476 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1331, allocations: 0.6727 MB / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.21e-06/0.1331, allocations: 0 / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.1331, allocations: 11.44 kB / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1331, allocations: 128 / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.158, allocations: 2.477 MB / 0.5507 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.049, allocations: 17.16 kB / 0.5507 GB, free: 11.88 MB / 414.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.923640368971974]