Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001392/0.001392, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001447/0.001447, allocations: 156.5 kB / 24.55 MB, free: 20 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.9737/0.9737, allocations: 177 MB / 204.8 MB, free: 5.594 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.3125/0.3125, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.498e-05, allocations: 6.25 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.006698/0.006733, allocations: 1.65 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.007635, allocations: 0.5563 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.007689, allocations: 4 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.007984, allocations: 91.61 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.008262, allocations: 115.5 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.008521, allocations: 111.7 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.008683, allocations: 99.67 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.008782, allocations: 8 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.008856, allocations: 47.88 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.01197, allocations: 51.89 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.01198, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.01209, allocations: 51.91 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.01214, allocations: 19.92 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.01218, allocations: 11.94 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.01238, allocations: 99.59 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01238, allocations: 3.938 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01238, allocations: 4 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.01239, allocations: 0 / 381.7 MB, free: 15.13 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.0004614/0.01285, allocations: 455.8 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01289, allocations: 12.03 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.01294, allocations: 8.891 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.01311, allocations: 152.4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.01312, allocations: 384 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.01315, allocations: 4.375 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.01329, allocations: 58.95 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.0133, allocations: 4.125 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.01332, allocations: 8.375 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.01332, allocations: 384 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.01337, allocations: 19.91 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.01376, allocations: 299.7 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.01385, allocations: 46.92 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.01388, allocations: 19.67 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.0139, allocations: 0 / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.01392, allocations: 37.33 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.01392, allocations: 4 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006867/0.01461, allocations: 173.3 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.01464, allocations: 51.41 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01479, allocations: 249.9 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.01481, allocations: 25.7 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.01487, allocations: 162.8 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.0149, allocations: 27.75 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.01493, allocations: 23.38 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01506, allocations: 0.5079 MB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.01508, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.0151, allocations: 16 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.01515, allocations: 35.67 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01515, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.646e-05/0.01525, allocations: 77.58 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01526, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01527, allocations: 0 / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01529, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.01537, allocations: 19.92 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01538, allocations: 320 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.0154, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.0154, allocations: 4 kB / 384.2 MB, free: 12.44 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.076e-05/0.01547, allocations: 160.6 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.0155, allocations: 15.84 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.01564, allocations: 95.11 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01565, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01565, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01565, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.01597, allocations: 392.9 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01597, allocations: 4.031 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.01601, allocations: 19.92 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01601, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01602, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01603, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01603, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01617, allocations: 243.5 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.01618, allocations: 11.89 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.0162, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.01624, allocations: 7.984 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.01628, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01629, allocations: 7.984 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.01639, allocations: 175.2 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01639, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01657, allocations: 27.88 kB / 385.3 MB, free: 11.2 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.001008/0.01758, allocations: 420 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01769, allocations: 51.58 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.0177, allocations: 0 / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.01773, allocations: 27.69 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01795, allocations: 23.98 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.01834, allocations: 249.7 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01839, allocations: 71.33 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.22e-05/0.01843, allocations: 12.72 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.01846, allocations: 16.5 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01846, allocations: 4.062 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00359/0.02205, allocations: 1.409 MB / 387.6 MB, free: 9.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.3828264358453453]