Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001688/0.001688, allocations: 116.2 kB / 18.49 MB, free: 4.426 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.002095/0.002095, allocations: 222.9 kB / 21.46 MB, free: 1.469 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2743/0.2743, allocations: 46.93 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.4916 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1278, allocations: 66 MB / 0.5561 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4216/0.5495, allocations: 139.4 MB / 0.6922 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.5549, allocations: 4.731 MB / 0.6969 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.555, allocations: 3.938 kB / 0.6969 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.5554, allocations: 67.58 kB / 0.6969 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.5571, allocations: 0.7307 MB / 0.6976 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.5575, allocations: 166 kB / 0.6978 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.558, allocations: 382.1 kB / 0.6982 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.558, allocations: 5.688 kB / 0.6982 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.5583, allocations: 159.4 kB / 0.6983 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.5586, allocations: 195.3 kB / 0.6985 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.5586, allocations: 8 kB / 0.6985 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.5599, allocations: 0.7097 MB / 0.6992 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.56, allocations: 39.83 kB / 0.6992 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.5601, allocations: 111.5 kB / 0.6993 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.5608, allocations: 482.1 kB / 0.6998 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5608, allocations: 0 / 0.6998 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5608, allocations: 0 / 0.6998 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.381e-06/0.5608, allocations: 7.938 kB / 0.6998 GB, free: 14.29 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.001129/0.562, allocations: 0.6077 MB / 0.7004 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.562, allocations: 12.03 kB / 0.7004 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.57e-05/0.562, allocations: 9.625 kB / 0.7004 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.5621, allocations: 66.66 kB / 0.7005 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.5622, allocations: 24.84 kB / 0.7005 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.5626, allocations: 228.1 kB / 0.7007 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.5627, allocations: 131.5 kB / 0.7009 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.5627, allocations: 19.94 kB / 0.7009 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.5633, allocations: 326.8 kB / 0.7012 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5633, allocations: 0 / 0.7012 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5633, allocations: 15.98 kB / 0.7012 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.5633, allocations: 4 kB / 0.7012 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.5642, allocations: 0.7391 MB / 0.7019 GB, free: 11.98 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.001427/0.5656, allocations: 1.222 MB / 0.7031 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.5661, allocations: 171.7 kB / 0.7033 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.5662, allocations: 81.48 kB / 0.7034 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.5689, allocations: 2.703 MB / 0.706 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.334e-05/0.569, allocations: 34.5 kB / 0.706 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.569, allocations: 4 kB / 0.706 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007076/0.5697, allocations: 221 kB / 0.7062 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.5698, allocations: 63.39 kB / 0.7063 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.57, allocations: 216 kB / 0.7065 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.57, allocations: 29.7 kB / 0.7065 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.5702, allocations: 223.5 kB / 0.7068 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.5702, allocations: 51.62 kB / 0.7068 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5703, allocations: 86.03 kB / 0.7069 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5705, allocations: 326.8 kB / 0.7072 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.5706, allocations: 52.84 kB / 0.7073 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.5709, allocations: 317.2 kB / 0.7076 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.5714, allocations: 418 kB / 0.708 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5714, allocations: 3.938 kB / 0.708 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005659/0.572, allocations: 385.5 kB / 0.7083 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.572, allocations: 8 kB / 0.7083 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.572, allocations: 8 kB / 0.7083 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.5721, allocations: 23.81 kB / 0.7084 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.5724, allocations: 107.8 kB / 0.7085 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.5724, allocations: 19.92 kB / 0.7085 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.5726, allocations: 20 kB / 0.7085 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5727, allocations: 24 kB / 0.7085 GB, free: 4.262 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.0001388/0.5728, allocations: 153.9 kB / 0.7087 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.5728, allocations: 15.91 kB / 0.7087 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.5732, allocations: 159.8 kB / 0.7088 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5732, allocations: 4 kB / 0.7088 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5732, allocations: 0 / 0.7088 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5732, allocations: 3.984 kB / 0.7088 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.5738, allocations: 447.3 kB / 0.7093 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5738, allocations: 0 / 0.7093 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.5739, allocations: 27.98 kB / 0.7093 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5739, allocations: 0 / 0.7093 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5739, allocations: 4 kB / 0.7093 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5739, allocations: 4.062 kB / 0.7093 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5739, allocations: 7.875 kB / 0.7093 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.5742, allocations: 221 kB / 0.7095 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5743, allocations: 108.9 kB / 0.7096 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.5743, allocations: 3.953 kB / 0.7096 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5746, allocations: 17.23 kB / 0.7097 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.5746, allocations: 8 kB / 0.7097 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5746, allocations: 7.984 kB / 0.7097 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001326/0.5747, allocations: 148.5 kB / 0.7098 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.5747, allocations: 0 / 0.7098 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004895/0.5752, allocations: 99.86 kB / 0.7099 GB, free: 2.73 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.0007219/0.5759, allocations: 0.8154 MB / 0.7107 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.5763, allocations: 169.8 kB / 0.7109 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5763, allocations: 8 kB / 0.7109 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.5763, allocations: 31.92 kB / 0.7109 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.5767, allocations: 42.5 kB / 0.7109 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.58, allocations: 2.735 MB / 0.7136 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.5804, allocations: 0.7245 MB / 0.7143 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.5806, allocations: 58.92 kB / 0.7144 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5807, allocations: 63.41 kB / 0.7144 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.5807, allocations: 0 / 0.7144 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.6022, allocations: 5.418 MB / 0.7197 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.936, allocations: 13.89 kB / 0.7197 GB, free: 8.391 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.410207243985496]