Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.001782/0.001782, 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.002156/0.002156, 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.568/1.568, allocations: 207.6 MB / 234.5 MB, free: 9.988 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.2514/0.2514, allocations: 44.24 MB / 331.1 MB, free: 9.613 MB / 270.1 MB " [Timeout remaining time 179] 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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",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.002112/0.002112, allocations: 67.91 kB / 468.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1167, allocations: 61.04 MB / 0.5169 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003466/0.1201, allocations: 1.902 MB / 0.5188 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1212, allocations: 0.6163 MB / 0.5194 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1212, allocations: 4 kB / 0.5194 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1214, allocations: 35.72 kB / 0.5194 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1215, allocations: 31.7 kB / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1217, allocations: 47.92 kB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1219, allocations: 155.4 kB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.122, allocations: 49.59 kB / 0.5197 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1221, allocations: 63.78 kB / 0.5197 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.1222, allocations: 63.7 kB / 0.5198 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1223, allocations: 12 kB / 0.5198 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.621e-05/0.1223, allocations: 16 kB / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.1223, allocations: 31.91 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.1224, allocations: 59.67 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1226, allocations: 163.3 kB / 0.5201 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1226, allocations: 0 / 0.5201 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1226, allocations: 4 kB / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1226, allocations: 4 kB / 0.5201 GB, free: 4.098 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006447/0.1233, allocations: 366 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1233, allocations: 8.031 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1233, allocations: 4.469 kB / 0.5204 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.1234, allocations: 50.73 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.1234, allocations: 16.84 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1237, allocations: 150.3 kB / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1237, allocations: 8.656 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1237, allocations: 12.38 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.124, allocations: 135.8 kB / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1241, allocations: 3.938 kB / 0.5208 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1241, allocations: 7.984 kB / 0.5208 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1241, allocations: 4 kB / 0.5208 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1244, allocations: 107.9 kB / 0.5209 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/0.1254, allocations: 0.5666 MB / 0.5215 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1256, allocations: 70.52 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1257, allocations: 32.95 kB / 0.5216 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1257, allocations: 4 kB / 0.5216 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1258, allocations: 38.55 kB / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1258, allocations: 0 / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.1262, allocations: 105.6 kB / 0.5217 GB, free: 2.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1262, allocations: 59.34 kB / 0.5217 GB, free: 2.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1264, allocations: 149.8 kB / 0.5219 GB, free: 2.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1264, allocations: 25.7 kB / 0.5219 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1265, allocations: 135.7 kB / 0.522 GB, free: 1.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1265, allocations: 19.83 kB / 0.5221 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1266, allocations: 29.67 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1267, allocations: 322.8 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1268, allocations: 23.98 kB / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.127, allocations: 64.27 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1272, allocations: 96.19 kB / 0.5226 GB, free: 1.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1272, allocations: 4 kB / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002948/0.1275, allocations: 125.5 kB / 0.5227 GB, free: 1.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1275, allocations: 4 kB / 0.5227 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1275, allocations: 4.25 kB / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1275, allocations: 4.062 kB / 0.5227 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1277, allocations: 31.98 kB / 0.5227 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1277, allocations: 4 kB / 0.5227 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.1278, allocations: 15.94 kB / 0.5228 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1278, allocations: 4 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000105/0.1279, allocations: 129.7 kB / 0.5229 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1279, allocations: 7.953 kB / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1279, allocations: 12.34 kB / 0.5229 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1279, allocations: 4 kB / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1279, allocations: 0 / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.128, allocations: 15.91 kB / 0.5229 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.1282, allocations: 172.7 kB / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1282, allocations: 0 / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.1283, allocations: 15.98 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1283, allocations: 0 / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1283, allocations: 3.938 kB / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1283, allocations: 0 / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1283, allocations: 3.938 kB / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1285, allocations: 191.4 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.1286, allocations: 11.95 kB / 0.5233 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1286, allocations: 3.938 kB / 0.5233 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1287, allocations: 4 kB / 0.5233 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1287, allocations: 7.984 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1287, allocations: 0 / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.1288, allocations: 119.9 kB / 0.5234 GB, free: 340 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1288, allocations: 0 / 0.5234 GB, free: 340 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.129, allocations: 27.89 kB / 0.5235 GB, free: 312 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0005748/0.1296, allocations: 0.7123 MB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.1299, allocations: 71.89 kB / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1299, allocations: 0 / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.13, allocations: 36.09 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1303, allocations: 4 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1323, allocations: 1.649 MB / 0.5259 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1326, allocations: 0.7079 MB / 0.5266 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.1327, allocations: 12.66 kB / 0.5266 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.1327, allocations: 35.42 kB / 0.5266 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1327, allocations: 0 / 0.5266 GB, free: 12.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1574, allocations: 2.324 MB / 0.5289 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.4, allocations: 8 kB / 0.5289 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.701612655015197]