Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008575/0.0008575, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000802/0.000802, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8814/0.8814, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2408/0.2408, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.11e-05, allocations: 8.109 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2347/0.2347, allocations: 119.7 MB / 0.5462 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.238, allocations: 4.247 MB / 0.5504 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.2381, allocations: 0 / 0.5504 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.2385, allocations: 55.61 kB / 0.5504 GB, free: 8.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2396, allocations: 0.7789 MB / 0.5512 GB, free: 8.059 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.2398, allocations: 164.8 kB / 0.5513 GB, free: 7.902 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.2402, allocations: 381.9 kB / 0.5517 GB, free: 7.527 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.2402, allocations: 13.8 kB / 0.5517 GB, free: 7.516 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2404, allocations: 203.4 kB / 0.5519 GB, free: 7.316 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2406, allocations: 175.6 kB / 0.5521 GB, free: 7.145 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2406, allocations: 8 kB / 0.5521 GB, free: 7.137 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.2413, allocations: 0.6159 MB / 0.5527 GB, free: 6.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.2413, allocations: 63.73 kB / 0.5527 GB, free: 6.457 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.2414, allocations: 71.84 kB / 0.5528 GB, free: 6.387 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2419, allocations: 0.4947 MB / 0.5533 GB, free: 5.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2419, allocations: 0 / 0.5533 GB, free: 5.891 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2419, allocations: 0 / 0.5533 GB, free: 5.891 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2419, allocations: 0 / 0.5533 GB, free: 5.891 MB / 458.7 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.0007211/0.2426, allocations: 0.5258 MB / 0.5538 GB, free: 5.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2427, allocations: 12.02 kB / 0.5538 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2427, allocations: 58.73 kB / 0.5539 GB, free: 5.262 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.2428, allocations: 28.8 kB / 0.5539 GB, free: 5.234 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.243, allocations: 177.4 kB / 0.5541 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/0.2431, allocations: 222.7 kB / 0.5543 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2431, allocations: 24.38 kB / 0.5543 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.2435, allocations: 0.5042 MB / 0.5548 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2435, allocations: 4 kB / 0.5548 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2436, allocations: 11.94 kB / 0.5548 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2436, allocations: 8 kB / 0.5548 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.244, allocations: 0.7198 MB / 0.5555 GB, free: 3.434 MB / 458.7 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.0008244/0.2449, allocations: 1.007 MB / 0.5565 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.2451, allocations: 159.8 kB / 0.5567 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.2452, allocations: 77.48 kB / 0.5567 GB, free: 2.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/0.2461, allocations: 0.6837 MB / 0.5574 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2461, allocations: 38.56 kB / 0.5574 GB, free: 1.371 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.2461, allocations: 0 / 0.5574 GB, free: 1.371 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004174/0.2466, allocations: 220.9 kB / 0.5577 GB, free: 1.156 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2466, allocations: 51.41 kB / 0.5577 GB, free: 1.094 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2467, allocations: 242.8 kB / 0.5579 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2467, allocations: 25.7 kB / 0.558 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.2468, allocations: 215.5 kB / 0.5582 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2468, allocations: 61.88 kB / 0.5582 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.2469, allocations: 86.08 kB / 0.5583 GB, free: 464 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.2469, allocations: 330.8 kB / 0.5586 GB, free: 124 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.247, allocations: 52.97 kB / 0.5587 GB, free: 72 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2472, allocations: 321.8 kB / 0.559 GB, free: 15.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.2474, allocations: 424.3 kB / 0.5594 GB, free: 15.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2474, allocations: 0 / 0.5594 GB, free: 15.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003225/0.2477, allocations: 369.1 kB / 0.5597 GB, free: 14.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2478, allocations: 15.92 kB / 0.5597 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2478, allocations: 12.12 kB / 0.5598 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2478, allocations: 12 kB / 0.5598 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.248, allocations: 107.8 kB / 0.5599 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.248, allocations: 23.86 kB / 0.5599 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2481, allocations: 23.94 kB / 0.5599 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2481, allocations: 27.2 kB / 0.5599 GB, free: 14.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 7.671e-05/0.2482, allocations: 145.7 kB / 0.5601 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.2482, allocations: 15.91 kB / 0.5601 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.2484, allocations: 163.1 kB / 0.5603 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2484, allocations: 0 / 0.5603 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2484, allocations: 0 / 0.5603 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2484, allocations: 3.938 kB / 0.5603 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.2487, allocations: 410.5 kB / 0.5606 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2487, allocations: 4 kB / 0.5607 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.2488, allocations: 28.05 kB / 0.5607 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2488, allocations: 7.938 kB / 0.5607 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2488, allocations: 7.938 kB / 0.5607 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2488, allocations: 3.984 kB / 0.5607 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2488, allocations: 4 kB / 0.5607 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2489, allocations: 221 kB / 0.5609 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.249, allocations: 19.89 kB / 0.5609 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.249, allocations: 7.938 kB / 0.5609 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2491, allocations: 15.97 kB / 0.561 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.2491, allocations: 7.984 kB / 0.561 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2491, allocations: 12 kB / 0.561 GB, free: 13.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.2492, allocations: 149.2 kB / 0.5611 GB, free: 13.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2492, allocations: 0 / 0.5611 GB, free: 13.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.2495, allocations: 99.88 kB / 0.5612 GB, free: 13.12 MB / 474.7 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.0004086/0.2499, allocations: 0.8114 MB / 0.562 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2501, allocations: 177.2 kB / 0.5622 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2501, allocations: 0 / 0.5622 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.2501, allocations: 31.92 kB / 0.5622 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2504, allocations: 42.72 kB / 0.5622 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.2523, allocations: 2.683 MB / 0.5649 GB, free: 9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.2523, allocations: 116.6 kB / 0.565 GB, free: 8.867 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.2525, allocations: 50.92 kB / 0.565 GB, free: 8.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.2525, allocations: 72.41 kB / 0.5651 GB, free: 8.75 MB / 474.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2525, allocations: 0 / 0.5651 GB, free: 8.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.2674, allocations: 6.161 MB / 0.5711 GB, free: 2.785 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.234, allocations: 2.875 kB / 0.5711 GB, free: 2.785 MB / 474.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.191604104824364]