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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 213.1 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.27 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.89 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 61.05 MB / 0.5169 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001673/0.1269, allocations: 0.4988 MB / 0.5174 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.1277, allocations: 347.9 kB / 0.5177 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.1277, allocations: 0 / 0.5177 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1277, allocations: 3.938 kB / 0.5177 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1277, allocations: 0 / 0.5177 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.1285, allocations: 203.6 kB / 0.5179 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.1285, allocations: 4 kB / 0.5179 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1286, allocations: 7.922 kB / 0.5179 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.118e-05/0.1286, allocations: 0 / 0.5179 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.683e-05/0.1286, allocations: 0 / 0.5179 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.1286, allocations: 0 / 0.5179 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1289, allocations: 207.6 kB / 0.5181 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1289, allocations: 4 kB / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.1289, allocations: 4 kB / 0.5181 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1292, allocations: 143.9 kB / 0.5183 GB, free: 5.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1292, allocations: 4 kB / 0.5183 GB, free: 5.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1292, allocations: 4 kB / 0.5183 GB, free: 5.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1292, allocations: 7.875 kB / 0.5183 GB, free: 5.77 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.0003416/0.1295, allocations: 287.9 kB / 0.5186 GB, free: 5.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1296, allocations: 8.031 kB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.1296, allocations: 192 / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.1296, allocations: 34.75 kB / 0.5186 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.1296, allocations: 0.9375 kB / 0.5186 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.1297, allocations: 110.5 kB / 0.5187 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1297, allocations: 384 / 0.5187 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.1297, allocations: 384 / 0.5187 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.1298, allocations: 59.72 kB / 0.5188 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1298, allocations: 4 kB / 0.5188 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.1298, allocations: 0 / 0.5188 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1298, allocations: 0 / 0.5188 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.1299, allocations: 33.64 kB / 0.5188 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.13, allocations: 116.8 kB / 0.5189 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.1301, allocations: 48.31 kB / 0.519 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.1301, allocations: 30.56 kB / 0.519 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.1301, allocations: 4.062 kB / 0.519 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.1301, allocations: 60.2 kB / 0.5191 GB, free: 4.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1301, allocations: 0 / 0.5191 GB, free: 4.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.1303, allocations: 130.7 kB / 0.5192 GB, free: 4.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1304, allocations: 77.11 kB / 0.5193 GB, free: 4.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.445e-05/0.1304, allocations: 89.86 kB / 0.5193 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1304, allocations: 29.7 kB / 0.5194 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.1305, allocations: 80.14 kB / 0.5194 GB, free: 4.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.1305, allocations: 0 / 0.5194 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1305, allocations: 9.719 kB / 0.5195 GB, free: 4.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1306, allocations: 318.8 kB / 0.5198 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.1307, allocations: 33.69 kB / 0.5198 GB, free: 3.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.1307, allocations: 25.83 kB / 0.5198 GB, free: 3.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.1307, allocations: 64.33 kB / 0.5199 GB, free: 3.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1308, allocations: 0 / 0.5199 GB, free: 3.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.721e-05/0.1308, allocations: 101 kB / 0.52 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1309, allocations: 37.64 kB / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1309, allocations: 0 / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1309, allocations: 0 / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1309, allocations: 0 / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1309, allocations: 0 / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.1309, allocations: 0 / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1309, allocations: 0 / 0.52 GB, free: 3.711 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.549e-05/0.131, allocations: 139.6 kB / 0.5201 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.131, allocations: 3.938 kB / 0.5201 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.131, allocations: 6.984 kB / 0.5201 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.131, allocations: 4 kB / 0.5202 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.131, allocations: 0 / 0.5202 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.131, allocations: 0 / 0.5202 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.1311, allocations: 116.8 kB / 0.5203 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1311, allocations: 0 / 0.5203 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1311, allocations: 0 / 0.5203 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1311, allocations: 7.938 kB / 0.5203 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.1311, allocations: 4 kB / 0.5203 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1311, allocations: 0 / 0.5203 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1311, allocations: 0 / 0.5203 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1313, allocations: 124.5 kB / 0.5204 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-06/0.1313, allocations: 0 / 0.5204 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1313, allocations: 11.92 kB / 0.5204 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.1313, allocations: 0 / 0.5204 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.1313, allocations: 0 / 0.5204 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1313, allocations: 0 / 0.5204 GB, free: 3.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.1313, allocations: 76.39 kB / 0.5205 GB, free: 3.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1313, allocations: 4.031 kB / 0.5205 GB, free: 3.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1316, allocations: 51.88 kB / 0.5205 GB, free: 3.086 MB / 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.0006777/0.1323, allocations: 0.7448 MB / 0.5213 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.1324, allocations: 114.8 kB / 0.5214 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1324, allocations: 0 / 0.5214 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.1325, allocations: 85.11 kB / 0.5215 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.1326, allocations: 160 / 0.5215 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.1329, allocations: 160.2 kB / 0.5216 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.1329, allocations: 55.34 kB / 0.5217 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.642e-06/0.1329, allocations: 4 kB / 0.5217 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.1329, allocations: 7.438 kB / 0.5217 GB, free: 1.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1329, allocations: 0 / 0.5217 GB, free: 1.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.1557, allocations: 2.503 MB / 0.5241 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.66, allocations: 4.062 kB / 0.5241 GB, free: 15.27 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.444550266023725]