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.001104/0.001104, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001291/0.001291, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9353/0.9353, allocations: 177 MB / 205.2 MB, free: 5.039 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.2663/0.2663, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.462e-06/1.462e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.646e-05, allocations: 6.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3331/0.3331, allocations: 131.4 MB / 457.3 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.3362, allocations: 4.872 MB / 462.2 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.3363, allocations: 0 / 462.2 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.3366, allocations: 58.31 kB / 462.3 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.338, allocations: 0.8055 MB / 463.1 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3382, allocations: 161.5 kB / 463.2 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.3386, allocations: 400.7 kB / 463.6 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.3387, allocations: 13.75 kB / 463.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3389, allocations: 211.7 kB / 463.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3391, allocations: 174.5 kB / 464 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3391, allocations: 8.594 kB / 464 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.3399, allocations: 0.6315 MB / 464.6 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.3399, allocations: 51.58 kB / 464.7 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.34, allocations: 84.84 kB / 464.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3405, allocations: 472.5 kB / 465.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3405, allocations: 0 / 465.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3405, allocations: 3.5 kB / 465.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3405, allocations: 0 / 465.2 MB, free: 16.51 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.000614/0.3412, allocations: 0.5118 MB / 465.7 MB, free: 16.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.3412, allocations: 13.38 kB / 465.8 MB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3413, allocations: 48.77 kB / 465.8 MB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3415, allocations: 163.2 kB / 466 MB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.3415, allocations: 230.7 kB / 466.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3415, allocations: 24.66 kB / 466.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3418, allocations: 423.1 kB / 466.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3418, allocations: 2.531 kB / 466.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3418, allocations: 16.06 kB / 466.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.3418, allocations: 7.547 kB / 466.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.3421, allocations: 440.8 kB / 467.1 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3427, allocations: 0.8616 MB / 468 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3428, allocations: 167 kB / 468.1 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.3429, allocations: 54.84 kB / 468.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.3436, allocations: 0.7163 MB / 468.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3436, allocations: 33.56 kB / 468.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3436, allocations: 0 / 468.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002032/0.3438, allocations: 177.3 kB / 469.1 MB, free: 14.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.524e-05/0.3438, allocations: 51.41 kB / 469.1 MB, free: 14.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.3439, allocations: 232.5 kB / 469.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3439, allocations: 31.23 kB / 469.4 MB, free: 14.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3439, allocations: 215.7 kB / 469.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.344, allocations: 58.22 kB / 469.7 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.344, allocations: 86.16 kB / 469.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.3441, allocations: 329.7 kB / 470.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.3441, allocations: 32.8 kB / 470.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.3442, allocations: 300.3 kB / 470.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3443, allocations: 392.7 kB / 470.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3444, allocations: 3.125 kB / 470.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00022/0.3446, allocations: 300.9 kB / 471.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3446, allocations: 11.36 kB / 471.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3446, allocations: 13.09 kB / 471.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3446, allocations: 10.69 kB / 471.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3448, allocations: 105.5 kB / 471.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3448, allocations: 18.41 kB / 471.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3449, allocations: 52.09 kB / 471.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3449, allocations: 26.72 kB / 471.3 MB, free: 12.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * 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 6.295e-05/0.345, allocations: 147.9 kB / 471.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.345, allocations: 14.86 kB / 471.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.3452, allocations: 129.1 kB / 471.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3452, allocations: 1.094 kB / 471.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3452, allocations: 3.25 kB / 471.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3452, allocations: 0 / 471.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3453, allocations: 325.8 kB / 471.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3453, allocations: 0 / 471.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.3454, allocations: 31.09 kB / 471.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3454, allocations: 0 / 471.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.3454, allocations: 1.203 kB / 471.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3454, allocations: 2.656 kB / 471.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3454, allocations: 2.156 kB / 472 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.3455, allocations: 229.9 kB / 472.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3455, allocations: 27.14 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3456, allocations: 10.98 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.3456, allocations: 8.5 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.3457, allocations: 9.766 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3457, allocations: 7.094 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.054e-05/0.3457, allocations: 67.09 kB / 472.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3457, allocations: 0 / 472.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.346, allocations: 95.94 kB / 472.4 MB, free: 12.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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.0001638/0.3461, allocations: 146.1 kB / 472.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.3463, allocations: 158.2 kB / 472.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.3463, allocations: 7.906 kB / 472.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.3463, allocations: 27.41 kB / 472.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.3465, allocations: 60.91 kB / 472.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.3472, allocations: 491.5 kB / 473.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.3472, allocations: 75.2 kB / 473.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.3473, allocations: 54.95 kB / 473.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3475, allocations: 123.9 kB / 473.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3475, allocations: 0 / 473.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of Templates: time 0.004455/0.3519, allocations: 3.522 MB / 477 MB, free: 11.23 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.2275411719456315]