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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 249.8 MB, free: 3.508 MB / 190.1 MB " [Timeout remaining time 178] 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.2206/0.2206, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00191/0.00191, allocations: 63.48 kB / 491.8 MB, free: 30.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1145, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.422/0.5365, allocations: 136.5 MB / 0.6764 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.5418, allocations: 4.726 MB / 0.681 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.5419, allocations: 3.938 kB / 0.681 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.5422, allocations: 57.31 kB / 0.681 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.5438, allocations: 0.7415 MB / 0.6818 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.5442, allocations: 156.3 kB / 0.6819 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.5447, allocations: 370.3 kB / 0.6823 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.5447, allocations: 14.47 kB / 0.6823 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.5449, allocations: 164.1 kB / 0.6824 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.5452, allocations: 192.2 kB / 0.6826 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.5452, allocations: 10 kB / 0.6826 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.5463, allocations: 0.692 MB / 0.6833 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.5464, allocations: 49.92 kB / 0.6834 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.5465, allocations: 110.5 kB / 0.6835 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.5471, allocations: 457.7 kB / 0.6839 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5471, allocations: 0 / 0.6839 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5471, allocations: 2.562 kB / 0.6839 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.5471, allocations: 0 / 0.6839 GB, free: 11.05 MB / 494.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.001002/0.5481, allocations: 0.6005 MB / 0.6845 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5482, allocations: 7.531 kB / 0.6845 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.5482, allocations: 65.12 kB / 0.6846 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.5484, allocations: 27.64 kB / 0.6846 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5487, allocations: 230.4 kB / 0.6848 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.5489, allocations: 122 kB / 0.6849 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.5489, allocations: 23.5 kB / 0.6849 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.5494, allocations: 328.7 kB / 0.6853 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5494, allocations: 0 / 0.6853 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5494, allocations: 12.95 kB / 0.6853 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5494, allocations: 13.11 kB / 0.6853 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.5501, allocations: 0.733 MB / 0.686 GB, free: 9.477 MB / 494.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.001409/0.5515, allocations: 1.231 MB / 0.6872 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.5519, allocations: 164.5 kB / 0.6874 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.5521, allocations: 83.66 kB / 0.6874 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/0.5545, allocations: 2.694 MB / 0.6901 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5545, allocations: 37.59 kB / 0.6901 GB, free: 5.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.5545, allocations: 0 / 0.6901 GB, free: 5.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005601/0.5551, allocations: 214.7 kB / 0.6903 GB, free: 4.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5551, allocations: 61.92 kB / 0.6904 GB, free: 4.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.5553, allocations: 214.9 kB / 0.6906 GB, free: 4.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5553, allocations: 32.33 kB / 0.6906 GB, free: 4.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5554, allocations: 212.1 kB / 0.6908 GB, free: 4.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.5555, allocations: 59.39 kB / 0.6909 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.5556, allocations: 90.47 kB / 0.6909 GB, free: 4.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5557, allocations: 328.2 kB / 0.6913 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.5558, allocations: 59.16 kB / 0.6913 GB, free: 4.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.5561, allocations: 334.9 kB / 0.6916 GB, free: 3.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.5565, allocations: 426.8 kB / 0.692 GB, free: 3.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5565, allocations: 1.938 kB / 0.692 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004996/0.557, allocations: 381.2 kB / 0.6924 GB, free: 2.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.557, allocations: 14.06 kB / 0.6924 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.557, allocations: 9.594 kB / 0.6924 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.5571, allocations: 24.89 kB / 0.6925 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.5573, allocations: 108.9 kB / 0.6926 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5574, allocations: 20.61 kB / 0.6926 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5576, allocations: 18.38 kB / 0.6926 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.5576, allocations: 23.16 kB / 0.6926 GB, free: 2.898 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.0001283/0.5577, allocations: 148.5 kB / 0.6928 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.5578, allocations: 21.89 kB / 0.6928 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.558, allocations: 150.9 kB / 0.6929 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5581, allocations: 7.141 kB / 0.6929 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5581, allocations: 0 / 0.6929 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5581, allocations: 0 / 0.6929 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.5586, allocations: 458.2 kB / 0.6934 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5586, allocations: 2.219 kB / 0.6934 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.5587, allocations: 31 kB / 0.6934 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5587, allocations: 3.938 kB / 0.6934 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5587, allocations: 2.25 kB / 0.6934 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5588, allocations: 0 / 0.6934 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5588, allocations: 2.5 kB / 0.6934 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.559, allocations: 232 kB / 0.6936 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.5591, allocations: 96.75 kB / 0.6937 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.5591, allocations: 5.812 kB / 0.6937 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5593, allocations: 7.297 kB / 0.6937 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.5594, allocations: 12.92 kB / 0.6937 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.5594, allocations: 11.22 kB / 0.6938 GB, free: 1.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.5595, allocations: 148.2 kB / 0.6939 GB, free: 1.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5595, allocations: 4 kB / 0.6939 GB, free: 1.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.5599, allocations: 92.28 kB / 0.694 GB, free: 1.742 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.0006848/0.5606, allocations: 0.8195 MB / 0.6948 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.5609, allocations: 170.8 kB / 0.695 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5609, allocations: 3.938 kB / 0.695 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.5609, allocations: 33.05 kB / 0.695 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5613, allocations: 48.09 kB / 0.695 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.5642, allocations: 2.705 MB / 0.6977 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.5646, allocations: 0.7328 MB / 0.6984 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.5647, allocations: 57.64 kB / 0.6984 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.5648, allocations: 61.86 kB / 0.6985 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5648, allocations: 0 / 0.6985 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.5915, allocations: 5.338 MB / 0.7037 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.684, allocations: 9.984 kB / 0.7037 GB, free: 8.586 MB / 0.4981 GB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.869293869938701]