Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.000939/0.000939, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009469/0.0009469, allocations: 158.5 kB / 24.99 MB, free: 9.25 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.609 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.2516/0.2516, allocations: 34.86 MB / 296.6 MB, free: 496 kB / 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.231e-05, allocations: 6.812 kB / 378.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002115/0.002137, allocations: 1.775 MB / 380.6 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003298, allocations: 1.005 MB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.003373, allocations: 4 kB / 381.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.003653, allocations: 51.69 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.003921, allocations: 107.4 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.004067, allocations: 83.66 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.004234, allocations: 131.6 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.004327, allocations: 15.97 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.00441, allocations: 67.81 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.004499, allocations: 43.88 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.004519, allocations: 8 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.004617, allocations: 63.86 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.004673, allocations: 31.84 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.004717, allocations: 27.92 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.004901, allocations: 131.5 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004903, allocations: 4 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004903, allocations: 0 / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004908, allocations: 0 / 382.4 MB, free: 14.72 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004502/0.005358, allocations: 467.7 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.005392, allocations: 8.031 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.00544, allocations: 16.84 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005619, allocations: 160.9 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.005638, allocations: 4.375 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.005659, allocations: 4.375 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.005792, allocations: 82.86 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.005803, allocations: 8.125 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.005811, allocations: 384 / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.005821, allocations: 7.938 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.00588, allocations: 31.95 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.00619, allocations: 311.7 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.006378, allocations: 75.06 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.006416, allocations: 27.67 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.006427, allocations: 0 / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.006534, allocations: 80.97 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.006535, allocations: 8 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005617/0.007096, allocations: 264.5 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.007127, allocations: 51.41 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007262, allocations: 233.9 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007276, allocations: 25.7 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.007335, allocations: 155.1 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.007375, allocations: 47.64 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.007411, allocations: 31.38 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.007528, allocations: 0.504 MB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.007564, allocations: 19.92 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.007615, allocations: 57.69 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.007699, allocations: 71.3 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0077, allocations: 0 / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001483/0.007848, allocations: 133.7 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007861, allocations: 8 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007865, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.007876, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.007941, allocations: 27.98 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.007947, allocations: 4.031 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.007974, allocations: 7.938 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007981, allocations: 4 kB / 385.3 MB, free: 11.61 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 (15): * Single equations (assignments): 15 * 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.557e-05/0.008057, allocations: 168.5 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.008081, allocations: 23.89 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.008284, allocations: 155.1 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008286, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008289, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008293, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.0087, allocations: 488.5 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008701, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.008748, allocations: 28 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.008752, allocations: 7.984 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.008761, allocations: 0 / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.008765, allocations: 4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.008767, allocations: 3.938 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.008968, allocations: 313.6 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.008983, allocations: 15.91 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.009011, allocations: 4 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.009062, allocations: 8.062 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.009099, allocations: 19.91 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.009114, allocations: 8 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.009195, allocations: 180.2 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009195, allocations: 0 / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.009386, allocations: 31.94 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001086/0.01047, allocations: 0.4889 MB / 387.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01062, allocations: 79.59 kB / 387.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01062, allocations: 0 / 387.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.01068, allocations: 55.59 kB / 387.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01092, allocations: 31.61 kB / 387.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01133, allocations: 282.3 kB / 387.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.01139, allocations: 75.77 kB / 387.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.01144, allocations: 25.47 kB / 387.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.01148, allocations: 20.5 kB / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01148, allocations: 0 / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of Templates: time 0.004064/0.01554, allocations: 2.385 MB / 390.1 MB, free: 6.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.0220900648273528]