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.001834/0.001834, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002261/0.002261, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.2261/0.2261, allocations: 44.94 MB / 359.6 MB, free: 6.164 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: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [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.002179/0.002179, allocations: 63.91 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3077, allocations: 65.47 MB / 0.5582 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1532/0.4608, allocations: 119.7 MB / 0.6751 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.4666, allocations: 4.24 MB / 0.6792 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.4668, allocations: 0 / 0.6792 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.4672, allocations: 67.59 kB / 0.6793 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.4695, allocations: 0.754 MB / 0.68 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.4699, allocations: 155.3 kB / 0.6802 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.4706, allocations: 378.1 kB / 0.6805 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.4706, allocations: 17.8 kB / 0.6806 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.4709, allocations: 163.4 kB / 0.6807 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.4713, allocations: 183.4 kB / 0.6809 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.4713, allocations: 11.94 kB / 0.6809 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.4727, allocations: 0.6123 MB / 0.6815 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.4728, allocations: 39.88 kB / 0.6815 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4729, allocations: 99.58 kB / 0.6816 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.474, allocations: 473 kB / 0.6821 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.474, allocations: 0 / 0.6821 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.474, allocations: 0 / 0.6821 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.474, allocations: 0 / 0.6821 GB, free: 8.004 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.001205/0.4752, allocations: 0.5426 MB / 0.6826 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4753, allocations: 8.031 kB / 0.6826 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.4754, allocations: 24.84 kB / 0.6826 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.4758, allocations: 174.2 kB / 0.6828 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.476, allocations: 226.6 kB / 0.683 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.476, allocations: 20.38 kB / 0.683 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.4767, allocations: 0.5018 MB / 0.6835 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4767, allocations: 0 / 0.6835 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.4768, allocations: 15.94 kB / 0.6836 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.4768, allocations: 11.98 kB / 0.6836 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008682/0.4776, allocations: 0.7196 MB / 0.6843 GB, free: 5.598 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.001366/0.479, allocations: 0.9679 MB / 0.6852 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.4795, allocations: 163.7 kB / 0.6854 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4796, allocations: 77.48 kB / 0.6854 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.4812, allocations: 0.6919 MB / 0.6861 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4812, allocations: 38.56 kB / 0.6862 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.4812, allocations: 0 / 0.6862 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007192/0.4819, allocations: 225 kB / 0.6864 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.482, allocations: 55.34 kB / 0.6864 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.4822, allocations: 234.8 kB / 0.6866 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4822, allocations: 25.7 kB / 0.6867 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4824, allocations: 219.6 kB / 0.6869 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.4824, allocations: 55.58 kB / 0.6869 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4825, allocations: 86.03 kB / 0.687 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4826, allocations: 322.8 kB / 0.6873 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.4827, allocations: 52.84 kB / 0.6874 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.4831, allocations: 317.2 kB / 0.6877 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.4835, allocations: 428.3 kB / 0.6881 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4835, allocations: 7.938 kB / 0.6881 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006148/0.4842, allocations: 373.8 kB / 0.6885 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4842, allocations: 12.03 kB / 0.6885 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4842, allocations: 12 kB / 0.6885 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.4842, allocations: 12 kB / 0.6885 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.4846, allocations: 103.8 kB / 0.6886 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.4846, allocations: 23.86 kB / 0.6886 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4848, allocations: 16 kB / 0.6886 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4849, allocations: 28 kB / 0.6886 GB, free: 0.6992 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.0001415/0.485, allocations: 153.5 kB / 0.6888 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.4851, allocations: 27.84 kB / 0.6888 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.4854, allocations: 143.9 kB / 0.689 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4854, allocations: 11.88 kB / 0.689 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.4854, allocations: 3.984 kB / 0.689 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4854, allocations: 0 / 0.689 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.4859, allocations: 375.8 kB / 0.6893 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.486, allocations: 4.062 kB / 0.6893 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4861, allocations: 35.86 kB / 0.6894 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4861, allocations: 3.938 kB / 0.6894 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4861, allocations: 4 kB / 0.6894 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4861, allocations: 0 / 0.6894 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4861, allocations: 0 / 0.6894 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.4864, allocations: 225.1 kB / 0.6896 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.4865, allocations: 23.83 kB / 0.6896 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.4865, allocations: 15.95 kB / 0.6896 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4867, allocations: 7.984 kB / 0.6896 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.4868, allocations: 11.98 kB / 0.6896 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4868, allocations: 8 kB / 0.6897 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001365/0.4869, allocations: 152.5 kB / 0.6898 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4869, allocations: 0 / 0.6898 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005061/0.4874, allocations: 91.94 kB / 0.6899 GB, free: 15.34 MB / 0.5294 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.0002819/0.4877, allocations: 163.1 kB / 0.69 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.488, allocations: 176.7 kB / 0.6902 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.488, allocations: 7.938 kB / 0.6902 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.4881, allocations: 31.92 kB / 0.6903 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.4886, allocations: 53.67 kB / 0.6903 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4896, allocations: 0.5405 MB / 0.6908 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.4897, allocations: 120.5 kB / 0.6909 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.4898, allocations: 31.42 kB / 0.691 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.4898, allocations: 0 / 0.691 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.0064/0.4962, allocations: 3.426 MB / 0.6943 GB, free: 10.75 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] 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: 8.151574305258691]