Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001648/0.001648, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001985/0.001985, allocations: 214 kB / 22.99 MB, free: 4.605 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.452/1.452, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2151/0.2151, allocations: 44.26 MB / 330.3 MB, free: 9.309 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.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",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.002155/0.002155, allocations: 71.91 kB / 467.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1179, allocations: 61.05 MB / 0.5162 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3582/0.4761, allocations: 116.8 MB / 0.6303 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.4816, allocations: 4.227 MB / 0.6344 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.4817, allocations: 0 / 0.6344 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4821, allocations: 55.61 kB / 0.6345 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.484, allocations: 0.7474 MB / 0.6352 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.4844, allocations: 161.4 kB / 0.6354 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.4849, allocations: 370.2 kB / 0.6357 GB, free: 7.812 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4849, allocations: 13.75 kB / 0.6357 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.4852, allocations: 155.5 kB / 0.6359 GB, free: 7.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.4855, allocations: 191.3 kB / 0.6361 GB, free: 7.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.4855, allocations: 12 kB / 0.6361 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4866, allocations: 0.5928 MB / 0.6366 GB, free: 6.855 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.4867, allocations: 51.8 kB / 0.6367 GB, free: 6.805 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4869, allocations: 95.58 kB / 0.6368 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.4876, allocations: 456.6 kB / 0.6372 GB, free: 6.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4876, allocations: 3.938 kB / 0.6372 GB, free: 6.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4876, allocations: 0 / 0.6372 GB, free: 6.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4876, allocations: 0 / 0.6372 GB, free: 6.266 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001072/0.4887, allocations: 0.5246 MB / 0.6377 GB, free: 5.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4887, allocations: 12.03 kB / 0.6377 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.4888, allocations: 62.72 kB / 0.6378 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.489, allocations: 32.8 kB / 0.6378 GB, free: 5.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.4893, allocations: 174.2 kB / 0.638 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.4895, allocations: 222.7 kB / 0.6382 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.4895, allocations: 24.38 kB / 0.6382 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.4902, allocations: 0.4979 MB / 0.6387 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4902, allocations: 3.938 kB / 0.6387 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.4902, allocations: 12 kB / 0.6387 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4902, allocations: 11.98 kB / 0.6388 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.4911, allocations: 0.7157 MB / 0.6395 GB, free: 3.801 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.4925, allocations: 1.01 MB / 0.6404 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4929, allocations: 155.8 kB / 0.6406 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.493, allocations: 85.42 kB / 0.6407 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.4944, allocations: 0.6804 MB / 0.6413 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4945, allocations: 34.56 kB / 0.6414 GB, free: 1.738 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.4945, allocations: 0 / 0.6414 GB, free: 1.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006205/0.4951, allocations: 229 kB / 0.6416 GB, free: 1.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4951, allocations: 51.41 kB / 0.6416 GB, free: 1.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.4953, allocations: 228 kB / 0.6419 GB, free: 1.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.4954, allocations: 29.7 kB / 0.6419 GB, free: 1.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4955, allocations: 227.5 kB / 0.6421 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.4956, allocations: 47.64 kB / 0.6421 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4957, allocations: 86.03 kB / 0.6422 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4958, allocations: 330.8 kB / 0.6425 GB, free: 492 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.4959, allocations: 44.84 kB / 0.6426 GB, free: 444 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.4963, allocations: 332 kB / 0.6429 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.4968, allocations: 434.6 kB / 0.6433 GB, free: 15.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4968, allocations: 7.938 kB / 0.6433 GB, free: 15.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000609/0.4974, allocations: 384.1 kB / 0.6437 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4974, allocations: 16.06 kB / 0.6437 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4974, allocations: 8 kB / 0.6437 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.4975, allocations: 15.94 kB / 0.6437 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.4978, allocations: 116.8 kB / 0.6438 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.4978, allocations: 15.94 kB / 0.6439 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.498, allocations: 16 kB / 0.6439 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.4981, allocations: 31.98 kB / 0.6439 GB, free: 14.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001662/0.4983, allocations: 149.6 kB / 0.644 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.4983, allocations: 23.84 kB / 0.6441 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.4986, allocations: 155.7 kB / 0.6442 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4986, allocations: 4 kB / 0.6442 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4986, allocations: 0 / 0.6442 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4986, allocations: 0 / 0.6442 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.4993, allocations: 412.8 kB / 0.6446 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4993, allocations: 0 / 0.6446 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4994, allocations: 27.92 kB / 0.6446 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4994, allocations: 4 kB / 0.6446 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4994, allocations: 4 kB / 0.6446 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.4994, allocations: 6.062 kB / 0.6446 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4994, allocations: 0 / 0.6446 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.4997, allocations: 225.1 kB / 0.6449 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.4998, allocations: 31.83 kB / 0.6449 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.4998, allocations: 11.92 kB / 0.6449 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.5, allocations: 12.03 kB / 0.6449 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.5001, allocations: 7.984 kB / 0.6449 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.5001, allocations: 11.98 kB / 0.6449 GB, free: 13.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.5002, allocations: 144.5 kB / 0.6451 GB, free: 13.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5002, allocations: 0 / 0.6451 GB, free: 13.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004754/0.5007, allocations: 91.92 kB / 0.6452 GB, free: 13.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0008686/0.5016, allocations: 0.8152 MB / 0.646 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.5019, allocations: 173.6 kB / 0.6461 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5019, allocations: 0 / 0.6461 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.502, allocations: 33.73 kB / 0.6462 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.5024, allocations: 50.08 kB / 0.6462 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.5058, allocations: 2.728 MB / 0.6489 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.5059, allocations: 116.6 kB / 0.649 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.5062, allocations: 54.81 kB / 0.649 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5063, allocations: 67.41 kB / 0.6491 GB, free: 8.984 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5063, allocations: 0 / 0.6491 GB, free: 8.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.5373, allocations: 5.979 MB / 0.6549 GB, free: 3.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.9, allocations: 7.281 kB / 0.6549 GB, free: 3.016 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.973387493286282]