Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009499/0.0009499, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.0009036/0.0009036, allocations: 170.5 kB / 24.83 MB, free: 8.918 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.005/1.005, allocations: 177 MB / 205.1 MB, free: 5.441 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.2582/0.2582, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 4 kB / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.709e-05, allocations: 3.016 kB / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002797/0.002824, allocations: 1.625 MB / 380.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003989, allocations: 1.281 MB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.004041, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.004223, allocations: 31.72 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.004464, allocations: 87.55 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.004667, allocations: 107.7 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.004783, allocations: 71.78 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.004873, allocations: 23.77 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.00493, allocations: 31.86 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.005018, allocations: 27.95 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.005032, allocations: 4 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.005145, allocations: 91.81 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.005181, allocations: 11.94 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.005203, allocations: 15.98 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.005364, allocations: 135.5 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.005366, allocations: 0 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005366, allocations: 0 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.00537, allocations: 4 kB / 382.8 MB, free: 14.25 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.0003443/0.005714, allocations: 424 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.005747, allocations: 12.03 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.005777, allocations: 12.89 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.005892, allocations: 140.4 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.005899, allocations: 4.375 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.005914, allocations: 384 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.006017, allocations: 108 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006026, allocations: 192 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.006031, allocations: 384 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006036, allocations: 8.312 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.868e-05/0.006055, allocations: 7.938 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.006263, allocations: 256.3 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006374, allocations: 43.11 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.006387, allocations: 11.69 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.006404, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.006423, allocations: 37.39 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.006424, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002426/0.006666, allocations: 93.52 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.006697, allocations: 85.05 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.006792, allocations: 193.9 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.006802, allocations: 25.7 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.006848, allocations: 150.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.006865, allocations: 15.91 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.006892, allocations: 23.36 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.00699, allocations: 0.4923 MB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.007001, allocations: 4 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.007032, allocations: 57.12 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.007059, allocations: 19.69 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.00706, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.564e-05/0.007126, allocations: 65.61 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.007137, allocations: 7.938 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.007276, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.007288, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.007325, allocations: 8 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007328, allocations: 3.984 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.007347, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.00735, allocations: 0 / 385.1 MB, free: 11.73 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.203e-05/0.007402, allocations: 152.6 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.00742, allocations: 11.95 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.007522, allocations: 81.95 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007523, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007524, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007527, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.007721, allocations: 294.1 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.007723, allocations: 8.234 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.007749, allocations: 8 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.007753, allocations: 7.938 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.007758, allocations: 4 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007759, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00776, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.007844, allocations: 203.8 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.007855, allocations: 20.16 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.007865, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.007895, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.007917, allocations: 7.984 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.00792, allocations: 3.984 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.007968, allocations: 149.5 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007968, allocations: 0 / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.008138, allocations: 39.86 kB / 386 MB, free: 10.69 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.0009059/0.009044, allocations: 475.6 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.386e-05/0.009118, allocations: 35.61 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009119, allocations: 3.938 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.009138, allocations: 19.67 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.009323, allocations: 19.98 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.009571, allocations: 173.8 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.009604, allocations: 63.34 kB / 386.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.009639, allocations: 15.92 kB / 386.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.009702, allocations: 86.19 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009702, allocations: 0 / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of Templates: time 0.003212/0.01291, allocations: 2.034 MB / 389 MB, free: 7.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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: 2.9522959967143834]