Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001442/0.001442, allocations: 82.59 kB / 21.43 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.00152/0.00152, allocations: 172.4 kB / 24.83 MB, free: 9.254 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.056/1.056, allocations: 177 MB / 205.1 MB, free: 5.488 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.2769/0.2769, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.507e-05, allocations: 2.312 kB / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003361/0.003386, allocations: 1.759 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.005363, allocations: 1.005 MB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.005479, allocations: 0 / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.00584, allocations: 55.67 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.006267, allocations: 103.5 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.006552, allocations: 87.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.006794, allocations: 103.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.006926, allocations: 7.984 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.007066, allocations: 55.83 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.007189, allocations: 27.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.007213, allocations: 4 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.007348, allocations: 47.91 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.007434, allocations: 31.86 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.007494, allocations: 15.94 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.007752, allocations: 123.5 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.007756, allocations: 4 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007757, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.007762, allocations: 0 / 382.7 MB, free: 14.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006784/0.008441, allocations: 483.5 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.008499, allocations: 8.031 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.008562, allocations: 16.84 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.008808, allocations: 168.3 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.00883, allocations: 4.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.008853, allocations: 8.25 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.009031, allocations: 66.92 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.009046, allocations: 4.188 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.009057, allocations: 384 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.009092, allocations: 3.938 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.009142, allocations: 11.98 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.009646, allocations: 260.4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.009804, allocations: 55.09 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.009841, allocations: 19.67 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.009871, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.01004, allocations: 61.05 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.01004, allocations: 4 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005349/0.01057, allocations: 149.5 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.01062, allocations: 59.41 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.01086, allocations: 271.9 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01088, allocations: 29.7 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.01098, allocations: 166.8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.01102, allocations: 27.78 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.01107, allocations: 31.34 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.01124, allocations: 0.504 MB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.01127, allocations: 15.92 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.01132, allocations: 35.36 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.01138, allocations: 39.36 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01138, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.01153, allocations: 93.47 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01154, allocations: 4 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01155, allocations: 3.984 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01157, allocations: 4 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.01166, allocations: 12 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.01166, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.01171, allocations: 15.92 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01172, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001087/0.01182, allocations: 167 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.01185, allocations: 19.84 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.01206, allocations: 107.1 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01207, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01207, allocations: 3.938 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01207, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.01247, allocations: 373.6 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01247, allocations: 4.031 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.01251, allocations: 8 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01252, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.01253, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01253, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01253, allocations: 4 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.01275, allocations: 255.3 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.01277, allocations: 19.89 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.01279, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.01287, allocations: 8 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.0129, allocations: 3.984 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01292, allocations: 8 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.01304, allocations: 191.4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01304, allocations: 0 / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.01333, allocations: 31.92 kB / 386.5 MB, free: 10.24 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00129/0.01462, allocations: 441 kB / 386.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01476, allocations: 47.59 kB / 387 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01477, allocations: 4 kB / 387 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.01482, allocations: 27.73 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.01519, allocations: 35.91 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.01565, allocations: 262.4 kB / 387.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.097e-05/0.01572, allocations: 71.33 kB / 387.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.01577, allocations: 17.27 kB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.01586, allocations: 98.25 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01587, allocations: 0 / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005891/0.02176, allocations: 2.074 MB / 389.6 MB, free: 7.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.1262172129936516]