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.001363/0.001363, allocations: 120 kB / 18.49 MB, free: 4.566 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.001408/0.001408, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.432/1.432, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2216/0.2216, allocations: 46.92 MB / 357.7 MB, free: 10.17 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 71.89 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 66.05 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.411/0.5365, allocations: 139.4 MB / 0.6923 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.5419, allocations: 4.731 MB / 0.697 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.542, allocations: 4 kB / 0.697 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.5423, allocations: 59.59 kB / 0.697 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.5442, allocations: 0.7384 MB / 0.6977 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.5446, allocations: 155.4 kB / 0.6979 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.5451, allocations: 382.1 kB / 0.6983 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.5452, allocations: 5.688 kB / 0.6983 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.5454, allocations: 159.4 kB / 0.6984 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.5457, allocations: 191.4 kB / 0.6986 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.5457, allocations: 12 kB / 0.6986 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.5471, allocations: 0.7136 MB / 0.6993 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.5472, allocations: 47.81 kB / 0.6994 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.5473, allocations: 107.5 kB / 0.6995 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.5481, allocations: 486 kB / 0.6999 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5481, allocations: 0 / 0.6999 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5481, allocations: 0 / 0.6999 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5481, allocations: 0 / 0.6999 GB, free: 13.86 MB / 0.5137 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.00114/0.5492, allocations: 0.6078 MB / 0.7005 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5493, allocations: 8.031 kB / 0.7005 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.5493, allocations: 12.75 kB / 0.7005 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.5494, allocations: 58.67 kB / 0.7006 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.5495, allocations: 28.83 kB / 0.7006 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.5498, allocations: 228.1 kB / 0.7008 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.55, allocations: 124.1 kB / 0.7009 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.55, allocations: 31.94 kB / 0.701 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.5506, allocations: 318.8 kB / 0.7013 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5506, allocations: 0 / 0.7013 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.5506, allocations: 12 kB / 0.7013 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.5506, allocations: 11.94 kB / 0.7013 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.5515, allocations: 0.743 MB / 0.702 GB, free: 11.55 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.00137/0.5529, allocations: 1.222 MB / 0.7032 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.5533, allocations: 167.7 kB / 0.7034 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5534, allocations: 77.48 kB / 0.7035 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.5559, allocations: 2.703 MB / 0.7061 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.5559, allocations: 34.56 kB / 0.7061 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.5559, allocations: 7.938 kB / 0.7061 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006906/0.5566, allocations: 225 kB / 0.7064 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5567, allocations: 51.41 kB / 0.7064 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5569, allocations: 211.8 kB / 0.7066 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.5569, allocations: 33.7 kB / 0.7066 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.557, allocations: 215.5 kB / 0.7068 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.5571, allocations: 55.61 kB / 0.7069 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5572, allocations: 86.03 kB / 0.707 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5573, allocations: 330.8 kB / 0.7073 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.5574, allocations: 52.83 kB / 0.7073 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.5577, allocations: 322.6 kB / 0.7077 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.5582, allocations: 416.3 kB / 0.708 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5582, allocations: 4 kB / 0.7081 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005766/0.5588, allocations: 381.1 kB / 0.7084 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5588, allocations: 8 kB / 0.7084 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5588, allocations: 12 kB / 0.7084 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.5588, allocations: 15.94 kB / 0.7084 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.5592, allocations: 108.5 kB / 0.7086 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.5592, allocations: 15.94 kB / 0.7086 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5594, allocations: 20.5 kB / 0.7086 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.5594, allocations: 28 kB / 0.7086 GB, free: 3.84 MB / 0.5137 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.0001553/0.5596, allocations: 157.5 kB / 0.7088 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.5596, allocations: 19.91 kB / 0.7088 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.56, allocations: 157.8 kB / 0.7089 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.56, allocations: 0 / 0.7089 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.56, allocations: 4.688 kB / 0.7089 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.56, allocations: 0 / 0.7089 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.5605, allocations: 444 kB / 0.7094 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5605, allocations: 4 kB / 0.7094 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.5607, allocations: 31.98 kB / 0.7094 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5607, allocations: 7.625 kB / 0.7094 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5607, allocations: 0 / 0.7094 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5607, allocations: 3.984 kB / 0.7094 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5607, allocations: 4 kB / 0.7094 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.5609, allocations: 221 kB / 0.7096 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.561, allocations: 101 kB / 0.7097 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.5611, allocations: 11.95 kB / 0.7097 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5613, allocations: 7.984 kB / 0.7097 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.5613, allocations: 11.98 kB / 0.7097 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.5613, allocations: 4 kB / 0.7098 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001283/0.5614, allocations: 152.5 kB / 0.7099 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5614, allocations: 0 / 0.7099 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00048/0.5619, allocations: 95.88 kB / 0.71 GB, free: 2.312 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.0007442/0.5627, allocations: 0.8191 MB / 0.7108 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.563, allocations: 176.8 kB / 0.711 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.563, allocations: 0 / 0.711 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.563, allocations: 32.8 kB / 0.711 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.5635, allocations: 48.38 kB / 0.711 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.5665, allocations: 2.735 MB / 0.7137 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5668, allocations: 0.7245 MB / 0.7144 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.567, allocations: 54.92 kB / 0.7145 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.5671, allocations: 59.42 kB / 0.7145 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.5671, allocations: 0 / 0.7145 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.5891, allocations: 5.422 MB / 0.7198 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.802, allocations: 4.062 kB / 0.7198 GB, free: 7.957 MB / 0.5294 GB " [Timeout remaining time 651] (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: 11.943475156032946]