Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001852/0.001852, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002039/0.002039, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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.672/1.672, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3592/0.3592, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.401e-05, allocations: 6.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003134/0.003158, allocations: 1.629 MB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004337, allocations: 0.5409 MB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.004393, allocations: 3.938 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.004776, allocations: 127.6 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.00513, allocations: 131.4 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.005462, allocations: 107.7 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.005666, allocations: 103.7 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00577, allocations: 11.98 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.005887, allocations: 59.81 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.006048, allocations: 87.83 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.006068, allocations: 0 / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.006178, allocations: 51.91 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.006246, allocations: 27.92 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.006308, allocations: 15.95 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006552, allocations: 123.5 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006555, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006556, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006561, allocations: 4 kB / 380.2 MB, free: 15.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006559/0.007217, allocations: 479.3 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.007252, allocations: 8.031 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.007312, allocations: 16.84 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.007541, allocations: 148.4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.007559, allocations: 8.375 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.007578, allocations: 384 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.007726, allocations: 54.17 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.007738, allocations: 192 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.007748, allocations: 384 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.007754, allocations: 4.375 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.007853, allocations: 23.92 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.008356, allocations: 323.7 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.008479, allocations: 50.98 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.00853, allocations: 19.77 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.008552, allocations: 0 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.008595, allocations: 45.33 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.008596, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008648/0.009461, allocations: 213.5 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.009507, allocations: 55.39 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.01006, allocations: 282.8 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.01009, allocations: 37.62 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01023, allocations: 170.8 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.01028, allocations: 31.75 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.01033, allocations: 23.38 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002993/0.01063, allocations: 0.5157 MB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.01069, allocations: 15.98 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.01075, allocations: 20.02 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01089, allocations: 63.8 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01089, allocations: 4 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002093/0.0111, allocations: 93.53 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01112, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01112, allocations: 0 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01114, allocations: 3.984 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.01124, allocations: 19.94 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01124, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.01128, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01129, allocations: 11.98 kB / 382.9 MB, free: 12.95 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 (8): * Single equations (assignments): 8 * 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 0.0001312/0.01142, allocations: 160.6 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.01147, allocations: 23.84 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.01174, allocations: 107 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01174, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01175, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01175, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.01236, allocations: 425 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01236, allocations: 4.031 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.01243, allocations: 19.98 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01243, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.01244, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01244, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01245, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.01276, allocations: 259.4 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01278, allocations: 11.91 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01281, allocations: 7.984 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.01287, allocations: 4 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01291, allocations: 7.984 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.01292, allocations: 8 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.01311, allocations: 200.1 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 0 / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.01336, allocations: 27.88 kB / 384.2 MB, free: 11.62 MB / 362.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 (8): * Single equations (assignments): 8 * 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.003415/0.01677, allocations: 489.1 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.01702, allocations: 67.59 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01702, allocations: 0 / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.01711, allocations: 39.61 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01745, allocations: 19.94 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.01807, allocations: 283.2 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.0182, allocations: 105.1 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.338e-05/0.01827, allocations: 21.02 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.01831, allocations: 16.5 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01831, allocations: 4 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.00545/0.02376, allocations: 1.412 MB / 386.6 MB, free: 9.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.073685695999302]