Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001343/0.001343, allocations: 81.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001383/0.001383, allocations: 162 kB / 24.5 MB, free: 3.715 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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.2189/0.2189, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 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.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 75.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3546, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002896/0.3575, allocations: 1.601 MB / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3592, allocations: 1.239 MB / 0.5001 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.3592, allocations: 7.406 kB / 0.5001 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.3595, allocations: 18.47 kB / 0.5001 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.3598, allocations: 87.53 kB / 0.5002 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.36, allocations: 121.9 kB / 0.5003 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3602, allocations: 63.7 kB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3603, allocations: 13.61 kB / 0.5004 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.3604, allocations: 32.52 kB / 0.5004 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3605, allocations: 31.48 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3605, allocations: 3.094 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.3606, allocations: 85.78 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.3607, allocations: 22.42 kB / 0.5005 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.3607, allocations: 18.53 kB / 0.5005 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3609, allocations: 136.9 kB / 0.5007 GB, free: 27.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3609, allocations: 4 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3609, allocations: 0 / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.361, allocations: 3.031 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004334/0.3614, allocations: 326.2 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3614, allocations: 9.812 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3615, allocations: 11.2 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3616, allocations: 139.8 kB / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3617, allocations: 3.656 kB / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3617, allocations: 4.312 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3618, allocations: 91.45 kB / 0.5012 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3619, allocations: 4.188 kB / 0.5012 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3619, allocations: 3.938 kB / 0.5012 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3619, allocations: 2.219 kB / 0.5012 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.362, allocations: 27.92 kB / 0.5013 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.3623, allocations: 228.5 kB / 0.5015 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3625, allocations: 41.36 kB / 0.5015 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.3625, allocations: 22.69 kB / 0.5016 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3626, allocations: 0 / 0.5016 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3626, allocations: 41.22 kB / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.3626, allocations: 0 / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005447/0.3631, allocations: 145.3 kB / 0.5017 GB, free: 26.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3631, allocations: 83.81 kB / 0.5018 GB, free: 26.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3633, allocations: 139.8 kB / 0.5019 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3633, allocations: 28.89 kB / 0.502 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.3633, allocations: 94.92 kB / 0.5021 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3633, allocations: 15.8 kB / 0.5021 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3634, allocations: 31.56 kB / 0.5021 GB, free: 26.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.3634, allocations: 321.9 kB / 0.5024 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.3635, allocations: 20.42 kB / 0.5024 GB, free: 25.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.3636, allocations: 58.75 kB / 0.5025 GB, free: 25.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3637, allocations: 59.58 kB / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3637, allocations: 0 / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001672/0.3639, allocations: 88.36 kB / 0.5026 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3639, allocations: 6.281 kB / 0.5026 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3639, allocations: 0 / 0.5026 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3639, allocations: 0 / 0.5026 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.3639, allocations: 17.16 kB / 0.5027 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3639, allocations: 0 / 0.5027 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.364, allocations: 6.172 kB / 0.5027 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.364, allocations: 3.375 kB / 0.5027 GB, free: 25.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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 5.429e-05/0.3641, allocations: 116.9 kB / 0.5028 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3641, allocations: 11.2 kB / 0.5028 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3643, allocations: 106.4 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3643, allocations: 3.219 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3643, allocations: 0 / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3643, allocations: 4 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.3646, allocations: 297.2 kB / 0.5032 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3646, allocations: 0 / 0.5032 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.3647, allocations: 12.31 kB / 0.5032 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3647, allocations: 7.469 kB / 0.5032 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3647, allocations: 7.938 kB / 0.5032 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3647, allocations: 0 / 0.5032 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3647, allocations: 0 / 0.5032 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3649, allocations: 188.1 kB / 0.5034 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.3649, allocations: 4.234 kB / 0.5034 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3649, allocations: 6.484 kB / 0.5034 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.365, allocations: 7.25 kB / 0.5034 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.365, allocations: 6.562 kB / 0.5034 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.365, allocations: 3.984 kB / 0.5034 GB, free: 25.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.496e-05/0.3651, allocations: 118.9 kB / 0.5035 GB, free: 25.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3651, allocations: 0 / 0.5035 GB, free: 25.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3654, allocations: 44 kB / 0.5036 GB, free: 25.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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.001791/0.3672, allocations: 0.5076 MB / 0.5041 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3674, allocations: 54.39 kB / 0.5041 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3674, allocations: 0 / 0.5041 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.3674, allocations: 30.06 kB / 0.5041 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3678, allocations: 25.91 kB / 0.5042 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3682, allocations: 180.3 kB / 0.5043 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.3682, allocations: 83.98 kB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.3683, allocations: 18.41 kB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3683, allocations: 21.28 kB / 0.5045 GB, free: 24.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3683, allocations: 4 kB / 0.5045 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Templates: time 0.004313/0.3726, allocations: 1.79 MB / 0.5062 GB, free: 24.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023439229931682]