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.0009777/0.0009777, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001084/0.001084, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] 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.2671/0.2671, allocations: 34.86 MB / 296.6 MB, free: 0.5352 MB / 266.7 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: 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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.267e-05, allocations: 2.312 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3033/0.3034, allocations: 131.6 MB / 0.4984 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.3075, allocations: 4.835 MB / 0.5032 GB, free: 23.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3077, allocations: 1.406 kB / 0.5032 GB, free: 23.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3081, allocations: 57.36 kB / 0.5032 GB, free: 23.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.31, allocations: 0.7697 MB / 0.504 GB, free: 22.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3104, allocations: 153 kB / 0.5041 GB, free: 22.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.3109, allocations: 389.8 kB / 0.5045 GB, free: 22.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.311, allocations: 7.734 kB / 0.5045 GB, free: 22.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.3113, allocations: 203.7 kB / 0.5047 GB, free: 22.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.3116, allocations: 181 kB / 0.5049 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.3116, allocations: 7.156 kB / 0.5049 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3127, allocations: 0.617 MB / 0.5055 GB, free: 22.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.3128, allocations: 49.58 kB / 0.5055 GB, free: 22.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.3129, allocations: 85.56 kB / 0.5056 GB, free: 22.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007594/0.3136, allocations: 478.3 kB / 0.5061 GB, free: 22.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3136, allocations: 0 / 0.5061 GB, free: 22.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3136, allocations: 0 / 0.5061 GB, free: 22.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3136, allocations: 1.188 kB / 0.5061 GB, free: 22.02 MB / 410.7 MB 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.001082/0.3147, allocations: 0.6408 MB / 0.5067 GB, free: 21.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3148, allocations: 9.938 kB / 0.5067 GB, free: 21.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.315, allocations: 49.69 kB / 0.5067 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3152, allocations: 169.6 kB / 0.5069 GB, free: 21.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3153, allocations: 227.9 kB / 0.5071 GB, free: 21.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3153, allocations: 21.66 kB / 0.5071 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.3158, allocations: 465.8 kB / 0.5076 GB, free: 20.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3158, allocations: 384 / 0.5076 GB, free: 20.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3158, allocations: 12.06 kB / 0.5076 GB, free: 20.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.3158, allocations: 11.58 kB / 0.5076 GB, free: 20.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.3164, allocations: 0.5245 MB / 0.5081 GB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.3174, allocations: 1.222 MB / 0.5093 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.3177, allocations: 150.8 kB / 0.5095 GB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.3178, allocations: 69.56 kB / 0.5095 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.3189, allocations: 0.7848 MB / 0.5103 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3189, allocations: 44.08 kB / 0.5103 GB, free: 18.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.3189, allocations: 0 / 0.5103 GB, free: 18.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006109/0.3196, allocations: 204.8 kB / 0.5105 GB, free: 18.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.3196, allocations: 60.31 kB / 0.5106 GB, free: 18.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.3198, allocations: 288.5 kB / 0.5109 GB, free: 18.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3198, allocations: 33.64 kB / 0.5109 GB, free: 18.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.3199, allocations: 263.4 kB / 0.5111 GB, free: 18.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3199, allocations: 56.56 kB / 0.5112 GB, free: 18.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.32, allocations: 94.53 kB / 0.5113 GB, free: 18.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.3201, allocations: 0.4998 MB / 0.5118 GB, free: 17.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.3202, allocations: 44.03 kB / 0.5118 GB, free: 17.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3204, allocations: 425.7 kB / 0.5122 GB, free: 17.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3207, allocations: 0.5154 MB / 0.5127 GB, free: 16.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3207, allocations: 2.688 kB / 0.5127 GB, free: 16.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004751/0.3212, allocations: 377.6 kB / 0.5131 GB, free: 16.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3212, allocations: 11.27 kB / 0.5131 GB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3213, allocations: 14.38 kB / 0.5131 GB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.3213, allocations: 11.56 kB / 0.5131 GB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.3216, allocations: 108.7 kB / 0.5132 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.3216, allocations: 17.59 kB / 0.5133 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3218, allocations: 15.44 kB / 0.5133 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3218, allocations: 28.25 kB / 0.5133 GB, free: 16.33 MB / 410.7 MB 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 8.829e-05/0.3219, allocations: 191.8 kB / 0.5135 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3219, allocations: 26.38 kB / 0.5135 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.3222, allocations: 147.4 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3222, allocations: 0.5625 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3222, allocations: 0 / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3222, allocations: 3.203 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3226, allocations: 441.1 kB / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3226, allocations: 0 / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3227, allocations: 27.16 kB / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3227, allocations: 8.031 kB / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3228, allocations: 0.75 kB / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3228, allocations: 0 / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3228, allocations: 10.95 kB / 0.5141 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.3229, allocations: 267.5 kB / 0.5144 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.323, allocations: 21.97 kB / 0.5144 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.323, allocations: 6.625 kB / 0.5144 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3232, allocations: 12.42 kB / 0.5144 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3232, allocations: 11.72 kB / 0.5144 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3232, allocations: 12.25 kB / 0.5144 GB, free: 15.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.537e-05/0.3233, allocations: 185.3 kB / 0.5146 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3233, allocations: 0 / 0.5146 GB, free: 15.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004964/0.3238, allocations: 97.55 kB / 0.5147 GB, free: 15.25 MB / 410.7 MB 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.0002736/0.3241, allocations: 155.8 kB / 0.5148 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3244, allocations: 190.4 kB / 0.515 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3244, allocations: 0 / 0.515 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.3244, allocations: 38.67 kB / 0.5151 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3248, allocations: 59.55 kB / 0.5151 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3259, allocations: 0.5002 MB / 0.5156 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.3259, allocations: 79.28 kB / 0.5157 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.3261, allocations: 61.86 kB / 0.5157 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.3261, allocations: 27.97 kB / 0.5158 GB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3261, allocations: 0 / 0.5158 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.005649/0.3318, allocations: 3.187 MB / 0.5189 GB, free: 14.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","",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: 3.6910875730682164]