Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001524/0.001524, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001254/0.001254, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9601/0.9601, allocations: 177 MB / 205.9 MB, free: 4.457 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.1752/0.1752, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.466e-05, allocations: 5.859 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002186/0.002211, allocations: 1.625 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.00321, allocations: 1.273 MB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.003271, allocations: 3.938 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.003484, allocations: 27.8 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.003758, allocations: 91.53 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.003951, allocations: 83.7 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.004069, allocations: 75.7 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.004152, allocations: 11.98 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.004202, allocations: 31.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.004296, allocations: 23.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.004313, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.004451, allocations: 91.83 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.004491, allocations: 23.91 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.004514, allocations: 11.94 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004699, allocations: 131.5 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004702, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004702, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004707, allocations: 4 kB / 383.5 MB, free: 19.22 MB / 314.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.0003335/0.005041, allocations: 428 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.005079, allocations: 15.91 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.005117, allocations: 8.891 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.005237, allocations: 132.5 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.005245, allocations: 384 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.005262, allocations: 4.375 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005369, allocations: 108 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005378, allocations: 192 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.005385, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.005389, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.00541, allocations: 11.88 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.005596, allocations: 260.4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.005714, allocations: 39.05 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.005727, allocations: 11.69 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.005742, allocations: 4 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.005756, allocations: 37.33 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.005757, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002629/0.00602, allocations: 89.53 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.006047, allocations: 85.09 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.006129, allocations: 195.4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.006135, allocations: 25.7 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.006172, allocations: 146.8 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006191, allocations: 15.86 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.006216, allocations: 23.36 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.006266, allocations: 0.4923 MB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.006276, allocations: 8 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.006301, allocations: 57.12 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.006327, allocations: 19.69 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006328, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.202e-05/0.00639, allocations: 57.58 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.006402, allocations: 13.81 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006406, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.006415, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.006457, allocations: 12 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.00646, allocations: 3.984 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.00648, allocations: 15.95 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.006484, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.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 4.525e-05/0.006529, allocations: 156.6 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.006549, allocations: 7.953 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/0.006638, allocations: 73.95 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.00664, allocations: 288 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006642, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.006645, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.006816, allocations: 302.1 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006817, allocations: 0 / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.006841, allocations: 16.3 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006843, allocations: 7.938 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.006848, allocations: 4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006849, allocations: 3.938 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00685, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.333e-05/0.006913, allocations: 199.9 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.006922, allocations: 11.89 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006932, allocations: 7.984 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.006963, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.006982, allocations: 4 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.006985, allocations: 0 / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.007017, allocations: 151.1 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007017, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.007196, allocations: 35.92 kB / 386.8 MB, free: 15.67 MB / 314.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.0009487/0.008145, allocations: 488.9 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.008226, allocations: 31.59 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.008227, allocations: 4 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.008245, allocations: 23.67 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.008456, allocations: 18.66 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.008678, allocations: 159.8 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.008703, allocations: 67.2 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.008737, allocations: 12 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.00879, allocations: 82.19 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00879, allocations: 0 / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.002957/0.01175, allocations: 2.047 MB / 389.7 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.5391623182222247]