Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0008882/0.0008882, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.0009079/0.0009079, allocations: 164.5 kB / 24.56 MB, free: 36 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 0.9922/0.9922, allocations: 177 MB / 204.8 MB, free: 5.59 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.2874/0.2874, allocations: 34.87 MB / 296.3 MB, free: 0.5664 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.711e-05, allocations: 3.297 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002235/0.002262, allocations: 1.642 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.003014, allocations: 0.5447 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.003079, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.003377, allocations: 131.5 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.003683, allocations: 131.5 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.003925, allocations: 83.72 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.004106, allocations: 103.7 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.004203, allocations: 23.97 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.004274, allocations: 47.89 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.004389, allocations: 91.81 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.004403, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.004486, allocations: 47.92 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.004535, allocations: 23.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.004566, allocations: 23.84 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.00472, allocations: 95.66 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004722, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004723, allocations: 4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.004727, allocations: 7.875 kB / 381.8 MB, free: 15.07 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.0004105/0.005138, allocations: 463.7 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.005175, allocations: 8.031 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.005223, allocations: 24.83 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.005356, allocations: 148.4 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005365, allocations: 4.375 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.005385, allocations: 384 / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.005501, allocations: 62.94 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005509, allocations: 192 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.005521, allocations: 12.36 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.005528, allocations: 4.312 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.005561, allocations: 19.92 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.005856, allocations: 303.7 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.005921, allocations: 42.98 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.005942, allocations: 11.69 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.00596, allocations: 4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005981, allocations: 41.33 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005982, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.006504, allocations: 177.4 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.006534, allocations: 51.41 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.0067, allocations: 274.8 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006712, allocations: 29.64 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.006782, allocations: 170.8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006808, allocations: 27.8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.00684, allocations: 23.38 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.006967, allocations: 0.504 MB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.006991, allocations: 11.98 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.007012, allocations: 15.94 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.007061, allocations: 35.67 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007062, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.407e-05/0.007156, allocations: 81.53 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.007169, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007173, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007185, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.007261, allocations: 15.98 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.007267, allocations: 8.25 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.007287, allocations: 3.938 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.007294, allocations: 4 kB / 384.3 MB, free: 12.31 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 7.149e-05/0.007365, allocations: 160.6 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.00739, allocations: 19.84 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.007529, allocations: 99.09 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007531, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007534, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007537, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.007847, allocations: 389 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007849, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.007893, allocations: 19.92 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007896, allocations: 4.031 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.007905, allocations: 8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.007908, allocations: 4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.00791, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.008038, allocations: 239.4 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.00805, allocations: 12.38 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.008063, allocations: 3.984 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.0081, allocations: 11.94 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.008132, allocations: 3.984 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.008136, allocations: 7.938 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.008228, allocations: 196.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008228, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.008401, allocations: 23.94 kB / 385.5 MB, free: 11.05 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.001252/0.009653, allocations: 437.2 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.009771, allocations: 43.59 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009773, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.009802, allocations: 27.67 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01003, allocations: 27.8 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01042, allocations: 271.2 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.01046, allocations: 75.31 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.01049, allocations: 8.734 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.01052, allocations: 16.5 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01052, allocations: 4 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003648/0.01417, allocations: 1.491 MB / 387.9 MB, free: 8.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.092997928149998]