Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001816, allocations: 116.5 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 206.6 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.88 kB / 0.4962 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 66.07 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1694/0.4984, allocations: 139.4 MB / 0.6969 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007319/0.5057, allocations: 4.761 MB / 0.7016 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.5061, allocations: 0 / 0.7016 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.5067, allocations: 55.59 kB / 0.7016 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.5094, allocations: 0.7462 MB / 0.7024 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.5098, allocations: 166 kB / 0.7025 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009059/0.5107, allocations: 378.2 kB / 0.7029 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.5108, allocations: 9.812 kB / 0.7029 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.5113, allocations: 163.4 kB / 0.7031 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.5117, allocations: 195.3 kB / 0.7032 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.5118, allocations: 12 kB / 0.7032 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.5134, allocations: 0.7175 MB / 0.7039 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.5136, allocations: 43.81 kB / 0.704 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.5137, allocations: 103.5 kB / 0.7041 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5149, allocations: 492.3 kB / 0.7046 GB, free: 484 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5149, allocations: 0 / 0.7046 GB, free: 484 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5149, allocations: 0 / 0.7046 GB, free: 484 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.5149, allocations: 0 / 0.7046 GB, free: 484 kB / 0.5294 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.001261/0.5162, allocations: 0.5325 MB / 0.7051 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5162, allocations: 8.031 kB / 0.7051 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.043e-05/0.5163, allocations: 66.66 kB / 0.7052 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.5164, allocations: 28.84 kB / 0.7052 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.5168, allocations: 178.2 kB / 0.7053 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.517, allocations: 222.7 kB / 0.7056 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.5171, allocations: 28.12 kB / 0.7056 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.5177, allocations: 334 kB / 0.7059 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5177, allocations: 0 / 0.7059 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.5177, allocations: 12 kB / 0.7059 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.5177, allocations: 8 kB / 0.7059 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.5187, allocations: 0.7585 MB / 0.7067 GB, free: 14.18 MB / 0.545 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.001502/0.5202, allocations: 1.202 MB / 0.7078 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.5206, allocations: 175.6 kB / 0.708 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.5207, allocations: 81.47 kB / 0.7081 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.5222, allocations: 0.6959 MB / 0.7088 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5223, allocations: 38.56 kB / 0.7088 GB, free: 11.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.5223, allocations: 0 / 0.7088 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006825/0.523, allocations: 223.4 kB / 0.709 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.523, allocations: 55.34 kB / 0.7091 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.5232, allocations: 212.1 kB / 0.7093 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5232, allocations: 33.7 kB / 0.7093 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.5234, allocations: 227.5 kB / 0.7095 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.5235, allocations: 51.62 kB / 0.7096 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5236, allocations: 86.03 kB / 0.7096 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5237, allocations: 326.8 kB / 0.71 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.5238, allocations: 56.83 kB / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.5241, allocations: 317.1 kB / 0.7103 GB, free: 10.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.5246, allocations: 420.4 kB / 0.7107 GB, free: 9.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5246, allocations: 4 kB / 0.7107 GB, free: 9.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006126/0.5253, allocations: 377.8 kB / 0.7111 GB, free: 9.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5253, allocations: 14.38 kB / 0.7111 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5253, allocations: 8 kB / 0.7111 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.5253, allocations: 19.94 kB / 0.7111 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.5257, allocations: 111.8 kB / 0.7112 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.5257, allocations: 15.94 kB / 0.7112 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.5259, allocations: 23.94 kB / 0.7113 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.526, allocations: 24 kB / 0.7113 GB, free: 8.977 MB / 0.545 GB 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 0.0001544/0.5261, allocations: 153.6 kB / 0.7114 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.5262, allocations: 23.91 kB / 0.7115 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.5265, allocations: 155.8 kB / 0.7116 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5265, allocations: 0 / 0.7116 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5265, allocations: 3.938 kB / 0.7116 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5265, allocations: 0 / 0.7116 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.5271, allocations: 419 kB / 0.712 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5271, allocations: 0 / 0.712 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.5272, allocations: 27.98 kB / 0.712 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5272, allocations: 0 / 0.712 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5272, allocations: 12 kB / 0.712 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5272, allocations: 0 / 0.712 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5272, allocations: 0 / 0.712 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.5275, allocations: 236.6 kB / 0.7123 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.5276, allocations: 23.89 kB / 0.7123 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.5276, allocations: 7.953 kB / 0.7123 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5278, allocations: 11.98 kB / 0.7123 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.5278, allocations: 7.984 kB / 0.7123 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.5279, allocations: 4 kB / 0.7123 GB, free: 7.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001331/0.528, allocations: 156.5 kB / 0.7125 GB, free: 7.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.528, allocations: 4 kB / 0.7125 GB, free: 7.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004843/0.5285, allocations: 91.88 kB / 0.7126 GB, free: 7.57 MB / 0.545 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.0007584/0.5292, allocations: 0.8036 MB / 0.7134 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.5296, allocations: 181.3 kB / 0.7135 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5296, allocations: 0 / 0.7135 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.5296, allocations: 36.55 kB / 0.7136 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.5301, allocations: 48.75 kB / 0.7136 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.5333, allocations: 2.739 MB / 0.7163 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5337, allocations: 0.7206 MB / 0.717 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.5339, allocations: 62.91 kB / 0.717 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.534, allocations: 59.42 kB / 0.7171 GB, free: 2.516 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.534, allocations: 4 kB / 0.7171 GB, free: 2.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.5673, allocations: 5.69 MB / 0.7227 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.9, allocations: 4.062 kB / 0.7227 GB, free: 12.93 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.134139354107901]