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.00148/0.00148, allocations: 119.6 kB / 17.83 MB, free: 5.203 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.001712/0.001712, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.641/1.641, allocations: 207.6 MB / 231.2 MB, free: 4.133 MB / 174.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.3538/0.3538, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.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.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.002697/0.002697, allocations: 75.88 kB / 463 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3215, allocations: 60.99 MB / 0.5117 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1658/0.4873, allocations: 136.6 MB / 0.645 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006639/0.494, allocations: 4.719 MB / 0.6496 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4942, allocations: 4 kB / 0.6496 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.4946, allocations: 67.52 kB / 0.6497 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.4971, allocations: 0.7267 MB / 0.6504 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.4975, allocations: 152.7 kB / 0.6506 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2731/0.7706, allocations: 377.6 kB / 0.6509 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.7707, allocations: 7.516 kB / 0.6509 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.771, allocations: 157.7 kB / 0.6511 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.7713, allocations: 193.3 kB / 0.6513 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.7713, allocations: 9.891 kB / 0.6513 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.7727, allocations: 0.6956 MB / 0.652 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.7728, allocations: 45.55 kB / 0.652 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.773, allocations: 111.5 kB / 0.6521 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.7738, allocations: 464.2 kB / 0.6525 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7738, allocations: 0.7812 kB / 0.6525 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7738, allocations: 0.7188 kB / 0.6525 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.7738, allocations: 0.8125 kB / 0.6526 GB, free: 2.336 MB / 0.4981 GB 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.00116/0.775, allocations: 0.5981 MB / 0.6531 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.775, allocations: 14.08 kB / 0.6531 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.603e-05/0.775, allocations: 7.875 kB / 0.6532 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.7751, allocations: 62.44 kB / 0.6532 GB, free: 17.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.7752, allocations: 30.78 kB / 0.6532 GB, free: 17.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.7756, allocations: 224.2 kB / 0.6535 GB, free: 17.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7757, allocations: 125.2 kB / 0.6536 GB, free: 17.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.7757, allocations: 26.44 kB / 0.6536 GB, free: 17.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.7762, allocations: 324.5 kB / 0.6539 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7762, allocations: 0.6875 kB / 0.6539 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.7763, allocations: 14.53 kB / 0.6539 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.7763, allocations: 7.125 kB / 0.6539 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/0.7772, allocations: 0.7414 MB / 0.6547 GB, free: 17.41 MB / 0.5137 GB 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.001332/0.7785, allocations: 1.223 MB / 0.6559 GB, free: 16.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.7789, allocations: 165 kB / 0.656 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.7791, allocations: 85.89 kB / 0.6561 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.7818, allocations: 2.703 MB / 0.6587 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.7818, allocations: 33.09 kB / 0.6588 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.7818, allocations: 0 / 0.6588 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006509/0.7824, allocations: 231 kB / 0.659 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.7825, allocations: 53.09 kB / 0.659 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.7827, allocations: 206 kB / 0.6592 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.7827, allocations: 38.11 kB / 0.6593 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.7828, allocations: 214.4 kB / 0.6595 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.7828, allocations: 58.92 kB / 0.6595 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.7829, allocations: 82.94 kB / 0.6596 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7831, allocations: 327.9 kB / 0.6599 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.7832, allocations: 52.94 kB / 0.66 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7834, allocations: 329 kB / 0.6603 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.7837, allocations: 441.4 kB / 0.6607 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.7837, allocations: 2.781 kB / 0.6607 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005699/0.7843, allocations: 378 kB / 0.6611 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.7843, allocations: 10.5 kB / 0.6611 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.7843, allocations: 10.53 kB / 0.6611 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/0.7843, allocations: 18.55 kB / 0.6611 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.7847, allocations: 111.7 kB / 0.6612 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-05/0.7848, allocations: 19.5 kB / 0.6612 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.785, allocations: 19.11 kB / 0.6612 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.7851, allocations: 28.02 kB / 0.6613 GB, free: 12.05 MB / 0.5137 GB 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.0001714/0.7852, allocations: 150.2 kB / 0.6614 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.7853, allocations: 18.44 kB / 0.6614 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.7856, allocations: 157.2 kB / 0.6616 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7856, allocations: 1.844 kB / 0.6616 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7856, allocations: 6.141 kB / 0.6616 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7857, allocations: 1.188 kB / 0.6616 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.7863, allocations: 450.4 kB / 0.662 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7863, allocations: 0.5312 kB / 0.662 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.7865, allocations: 32.36 kB / 0.6621 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7865, allocations: 1.094 kB / 0.6621 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7865, allocations: 2.594 kB / 0.6621 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.7865, allocations: 5.688 kB / 0.6621 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7865, allocations: 2.156 kB / 0.6621 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.7867, allocations: 220.3 kB / 0.6623 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.7868, allocations: 106 kB / 0.6624 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.7869, allocations: 3.891 kB / 0.6624 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.7871, allocations: 8.891 kB / 0.6624 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.7871, allocations: 17.83 kB / 0.6624 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.7871, allocations: 5.938 kB / 0.6624 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001098/0.7872, allocations: 149.9 kB / 0.6626 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7872, allocations: 0 / 0.6626 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004801/0.7877, allocations: 96.89 kB / 0.6626 GB, free: 11.2 MB / 0.5137 GB 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.0006956/0.7884, allocations: 0.8168 MB / 0.6634 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.7887, allocations: 180.6 kB / 0.6636 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7887, allocations: 3.156 kB / 0.6636 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.7887, allocations: 33.39 kB / 0.6637 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.7892, allocations: 46.47 kB / 0.6637 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.7923, allocations: 2.721 MB / 0.6664 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.7928, allocations: 0.7259 MB / 0.6671 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002601/0.793, allocations: 55.72 kB / 0.6671 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.7931, allocations: 62.33 kB / 0.6672 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.7931, allocations: 1.094 kB / 0.6672 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.8157, allocations: 5.374 MB / 0.6724 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/9.241, allocations: 12.17 kB / 0.6724 GB, free: 7.09 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.501702722976916]