Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.0009717/0.0009717, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001088/0.001088, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2781/0.2781, allocations: 34.25 MB / 295.7 MB, free: 0.6758 MB / 266.7 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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.336e-05, allocations: 2.312 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001842/0.001855, allocations: 1.638 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.002975, allocations: 1.286 MB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.003022, allocations: 4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.003184, allocations: 19.8 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.003419, allocations: 87.55 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.003634, allocations: 123.5 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003744, allocations: 67.77 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.979e-05/0.003814, allocations: 11.98 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.003863, allocations: 31.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.003938, allocations: 27.89 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003952, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.00407, allocations: 95.81 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.004103, allocations: 11.94 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.004127, allocations: 15.98 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004293, allocations: 131.5 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004294, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004296, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.004299, allocations: 0 / 381.6 MB, free: 15.05 MB / 362.7 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.0003117/0.00461, allocations: 428 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.004639, allocations: 8.031 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.00467, allocations: 8.891 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004788, allocations: 144 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.004794, allocations: 384 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.004813, allocations: 8.312 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.004914, allocations: 100 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.004925, allocations: 8.109 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004936, allocations: 4.125 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.004942, allocations: 4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.004965, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.005205, allocations: 279.8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.005322, allocations: 50.97 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.00534, allocations: 11.69 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.005356, allocations: 8.016 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.005375, allocations: 37.39 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005376, allocations: 0 / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002656/0.005641, allocations: 105.4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.005671, allocations: 81.11 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.00577, allocations: 200.4 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.005779, allocations: 25.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.005821, allocations: 142.9 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.005839, allocations: 15.86 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.005865, allocations: 27.36 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.005962, allocations: 0.4884 MB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005977, allocations: 11.98 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.006007, allocations: 49.08 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.00604, allocations: 23.69 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.00604, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.136e-05/0.006102, allocations: 61.56 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.00611, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006114, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006124, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.006158, allocations: 15.98 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006162, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.006184, allocations: 15.92 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.006189, allocations: 4 kB / 383.9 MB, free: 12.48 MB / 362.7 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.266e-05/0.006242, allocations: 156.6 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.006262, allocations: 11.89 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.006357, allocations: 74.08 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006358, allocations: 3.938 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.006361, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.006364, allocations: 3.984 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.006576, allocations: 321.7 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.006578, allocations: 4.062 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.006603, allocations: 15.94 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006605, allocations: 0 / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.00661, allocations: 0 / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.00661, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006611, allocations: 0 / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.813e-05/0.006709, allocations: 207.8 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.006719, allocations: 11.94 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006729, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.006762, allocations: 8 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.006783, allocations: 3.984 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.006786, allocations: 0 / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.006844, allocations: 152.7 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006844, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.007025, allocations: 43.8 kB / 384.9 MB, free: 11.4 MB / 362.7 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.000908/0.007933, allocations: 489.5 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.008018, allocations: 27.69 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008019, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.008042, allocations: 23.61 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.008227, allocations: 30.67 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.008503, allocations: 169.9 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.008537, allocations: 63.34 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.008574, allocations: 19.97 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.008606, allocations: 24.48 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008606, allocations: 0 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Templates: time 0.002999/0.01161, allocations: 1.836 MB / 387.6 MB, free: 8.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.20702911214903]