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.001717/0.001717, allocations: 109 kB / 20.48 MB, free: 1.477 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.002143/0.002143, allocations: 207.8 kB / 23.78 MB, free: 4.688 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.424/1.424, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.222/0.222, allocations: 44.24 MB / 331.1 MB, free: 9.602 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.002139/0.002139, allocations: 75.91 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1104, allocations: 61.05 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001568/0.112, allocations: 0.5066 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.1129, allocations: 351.8 kB / 0.5177 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.1129, allocations: 0 / 0.5177 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1129, allocations: 0 / 0.5177 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.1129, allocations: 4 kB / 0.5177 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.1136, allocations: 199.5 kB / 0.5179 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.1137, allocations: 4 kB / 0.5179 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.002e-05/0.1137, allocations: 3.938 kB / 0.5179 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.05e-05/0.1137, allocations: 0 / 0.5179 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.551e-05/0.1137, allocations: 0 / 0.5179 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.1138, allocations: 4 kB / 0.5179 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1141, allocations: 207.6 kB / 0.5181 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1141, allocations: 0 / 0.5181 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.1141, allocations: 3.984 kB / 0.5181 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1143, allocations: 155.8 kB / 0.5183 GB, free: 5.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1143, allocations: 0 / 0.5183 GB, free: 5.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1143, allocations: 0 / 0.5183 GB, free: 5.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1144, allocations: 0 / 0.5183 GB, free: 5.93 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.0003672/0.1147, allocations: 291.9 kB / 0.5186 GB, free: 5.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1148, allocations: 8.031 kB / 0.5186 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.1148, allocations: 192 / 0.5186 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.1148, allocations: 30.75 kB / 0.5186 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.1148, allocations: 4.938 kB / 0.5186 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.1149, allocations: 106.5 kB / 0.5187 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1149, allocations: 4.375 kB / 0.5187 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.1149, allocations: 384 / 0.5187 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.115, allocations: 41.95 kB / 0.5188 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.115, allocations: 0 / 0.5188 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-06/0.115, allocations: 0 / 0.5188 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.115, allocations: 0 / 0.5188 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.115, allocations: 4 kB / 0.5188 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.1152, allocations: 116.8 kB / 0.5189 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.1152, allocations: 22.52 kB / 0.5189 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.1152, allocations: 8.953 kB / 0.5189 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-06/0.1152, allocations: 7.938 kB / 0.5189 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.1153, allocations: 60.2 kB / 0.519 GB, free: 5.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1153, allocations: 0 / 0.519 GB, free: 5.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.1155, allocations: 67.38 kB / 0.519 GB, free: 5.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.1155, allocations: 77.23 kB / 0.5191 GB, free: 4.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.1156, allocations: 93.86 kB / 0.5192 GB, free: 4.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1156, allocations: 25.7 kB / 0.5192 GB, free: 4.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.1156, allocations: 84.14 kB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1156, allocations: 4 kB / 0.5193 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.1156, allocations: 9.719 kB / 0.5193 GB, free: 4.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1158, allocations: 310.8 kB / 0.5196 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.1158, allocations: 4 kB / 0.5196 GB, free: 4.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.1158, allocations: 7.938 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.1159, allocations: 68.31 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1159, allocations: 0 / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.917e-05/0.1159, allocations: 67.34 kB / 0.5197 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.116, allocations: 33.64 kB / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.116, allocations: 0 / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.116, allocations: 0 / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.116, allocations: 0 / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.116, allocations: 0 / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.116, allocations: 4 kB / 0.5198 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.116, allocations: 8.016 kB / 0.5198 GB, free: 4.145 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 8.623e-05/0.1161, allocations: 131.5 kB / 0.5199 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.1161, allocations: 7.938 kB / 0.5199 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-06/0.1161, allocations: 6.938 kB / 0.5199 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1161, allocations: 0 / 0.5199 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1161, allocations: 0 / 0.5199 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1161, allocations: 0 / 0.5199 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.1162, allocations: 128.7 kB / 0.5201 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1162, allocations: 0 / 0.5201 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1162, allocations: 4 kB / 0.5201 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1163, allocations: 3.938 kB / 0.5201 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1163, allocations: 0 / 0.5201 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1163, allocations: 3.938 kB / 0.5201 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1163, allocations: 0 / 0.5201 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1164, allocations: 90.83 kB / 0.5201 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-06/0.1164, allocations: 0 / 0.5201 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1164, allocations: 7.938 kB / 0.5202 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1164, allocations: 4.031 kB / 0.5202 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.1164, allocations: 0 / 0.5202 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1164, allocations: 0 / 0.5202 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.1164, allocations: 76.42 kB / 0.5202 GB, free: 3.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1164, allocations: 0 / 0.5202 GB, free: 3.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1167, allocations: 59.8 kB / 0.5203 GB, free: 3.551 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.0007002/0.1174, allocations: 0.7113 MB / 0.521 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.931e-05/0.1175, allocations: 55.41 kB / 0.521 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1175, allocations: 0 / 0.521 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.1176, allocations: 59.34 kB / 0.5211 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1177, allocations: 5.094 kB / 0.5211 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.118, allocations: 134.7 kB / 0.5212 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1184, allocations: 0.6729 MB / 0.5219 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.1184, allocations: 3.938 kB / 0.5219 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1184, allocations: 7.438 kB / 0.5219 GB, free: 1.781 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1184, allocations: 0 / 0.5219 GB, free: 1.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.1399, allocations: 2.459 MB / 0.5243 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.47, allocations: 4.062 kB / 0.5243 GB, free: 15.32 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.330555477994494]