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.001749/0.001749, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002112/0.002112, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.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.2511/0.2511, allocations: 44.92 MB / 359.6 MB, free: 6.277 MB / 286.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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002026/0.002026, allocations: 59.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 65.48 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.19/0.5319, allocations: 139.4 MB / 0.694 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006001/0.5379, allocations: 4.75 MB / 0.6986 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.5381, allocations: 4 kB / 0.6986 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.5384, allocations: 63.58 kB / 0.6987 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.5403, allocations: 0.7384 MB / 0.6994 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.5407, allocations: 159.4 kB / 0.6996 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.5413, allocations: 386.1 kB / 0.6999 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.5413, allocations: 9.812 kB / 0.7 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.5416, allocations: 167.4 kB / 0.7001 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.542, allocations: 191.4 kB / 0.7003 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.542, allocations: 8 kB / 0.7003 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.5435, allocations: 0.7214 MB / 0.701 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.5436, allocations: 47.75 kB / 0.7011 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.5437, allocations: 99.53 kB / 0.7011 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009223/0.5446, allocations: 492.4 kB / 0.7016 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5446, allocations: 0 / 0.7016 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5446, allocations: 0 / 0.7016 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5447, allocations: 0 / 0.7016 GB, free: 3.965 MB / 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.001167/0.5458, allocations: 0.5324 MB / 0.7021 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5459, allocations: 8.031 kB / 0.7021 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.656e-05/0.5459, allocations: 16.62 kB / 0.7022 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.546, allocations: 58.72 kB / 0.7022 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.5461, allocations: 24.84 kB / 0.7022 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.5464, allocations: 170.2 kB / 0.7024 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.5467, allocations: 226.7 kB / 0.7026 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.5467, allocations: 31.94 kB / 0.7027 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.5472, allocations: 337.9 kB / 0.703 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5473, allocations: 0 / 0.703 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5473, allocations: 12 kB / 0.703 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.5473, allocations: 7.984 kB / 0.703 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.5482, allocations: 0.7547 MB / 0.7037 GB, free: 1.66 MB / 0.5294 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.001469/0.5497, allocations: 1.205 MB / 0.7049 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.5501, allocations: 171.6 kB / 0.7051 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.5502, allocations: 81.47 kB / 0.7051 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.5517, allocations: 0.6959 MB / 0.7058 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.5517, allocations: 46.44 kB / 0.7059 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.5517, allocations: 0 / 0.7059 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006618/0.5524, allocations: 220.9 kB / 0.7061 GB, free: 15.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5524, allocations: 55.34 kB / 0.7061 GB, free: 15.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.5526, allocations: 219 kB / 0.7063 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.5527, allocations: 29.7 kB / 0.7064 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.5528, allocations: 219.5 kB / 0.7066 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.5529, allocations: 47.64 kB / 0.7066 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.553, allocations: 98.02 kB / 0.7067 GB, free: 14.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5531, allocations: 326.8 kB / 0.707 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.5532, allocations: 52.83 kB / 0.7071 GB, free: 14.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.5535, allocations: 321.1 kB / 0.7074 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.554, allocations: 420.3 kB / 0.7078 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.554, allocations: 4 kB / 0.7078 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005762/0.5546, allocations: 377.1 kB / 0.7082 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5546, allocations: 8 kB / 0.7082 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5546, allocations: 15.94 kB / 0.7082 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.5546, allocations: 12 kB / 0.7082 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.555, allocations: 108.5 kB / 0.7083 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.555, allocations: 23.94 kB / 0.7083 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.5552, allocations: 16 kB / 0.7083 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.5552, allocations: 31.98 kB / 0.7084 GB, free: 12.45 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.0001404/0.5554, allocations: 149.5 kB / 0.7085 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.5554, allocations: 19.91 kB / 0.7085 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.5557, allocations: 163.7 kB / 0.7087 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5557, allocations: 4 kB / 0.7087 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5557, allocations: 0 / 0.7087 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5557, allocations: 0 / 0.7087 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.5563, allocations: 411 kB / 0.7091 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5563, allocations: 4 kB / 0.7091 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.5564, allocations: 28.05 kB / 0.7091 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.5564, allocations: 8 kB / 0.7091 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5565, allocations: 7.984 kB / 0.7091 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.5565, allocations: 7.938 kB / 0.7091 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5565, allocations: 0 / 0.7091 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.5567, allocations: 213 kB / 0.7093 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.5568, allocations: 27.89 kB / 0.7094 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.5568, allocations: 11.94 kB / 0.7094 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.557, allocations: 11.98 kB / 0.7094 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.557, allocations: 7.984 kB / 0.7094 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.5571, allocations: 8 kB / 0.7094 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5572, allocations: 152.5 kB / 0.7095 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5572, allocations: 0 / 0.7095 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004738/0.5577, allocations: 91.88 kB / 0.7096 GB, free: 11.05 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.0007129/0.5584, allocations: 0.8114 MB / 0.7104 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.5587, allocations: 180.9 kB / 0.7106 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5587, allocations: 0 / 0.7106 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.5588, allocations: 35.92 kB / 0.7106 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.5592, allocations: 53.81 kB / 0.7107 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5623, allocations: 2.735 MB / 0.7133 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5627, allocations: 0.7245 MB / 0.7141 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.5629, allocations: 54.92 kB / 0.7141 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.563, allocations: 63.41 kB / 0.7142 GB, free: 5.992 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.563, allocations: 4 kB / 0.7142 GB, free: 5.988 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.5893, allocations: 5.722 MB / 0.7198 GB, free: 440 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.88, allocations: 4.062 kB / 0.7198 GB, free: 436 kB / 0.545 GB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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: 15.062738393025938]