Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.0008837/0.0008837, allocations: 82.59 kB / 21.42 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.0009169/0.0009169, allocations: 169.5 kB / 24.82 MB, free: 8.91 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.9649/0.9649, allocations: 177 MB / 205.1 MB, free: 5.484 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.2742/0.2742, allocations: 34.86 MB / 296.6 MB, free: 448 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.04e-05, allocations: 3.156 kB / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002512/0.002532, allocations: 1.752 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.00441, allocations: 1.737 MB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.0045, allocations: 4 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.004759, allocations: 31.77 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.005082, allocations: 111.4 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.00529, allocations: 79.59 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.005432, allocations: 103.6 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.005518, allocations: 7.984 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.005607, allocations: 67.83 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.005704, allocations: 31.89 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.005719, allocations: 4 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.005875, allocations: 103.8 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.005917, allocations: 27.8 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.005946, allocations: 19.92 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.006141, allocations: 155.5 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.006143, allocations: 0 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006144, allocations: 0 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.006148, allocations: 0 / 383.5 MB, free: 13.48 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.0004014/0.006549, allocations: 467.7 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.006581, allocations: 8.031 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.006616, allocations: 12.89 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.00675, allocations: 145 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.006764, allocations: 4.375 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.006777, allocations: 384 / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006897, allocations: 108 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006907, allocations: 11.89 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.006914, allocations: 0 / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.006919, allocations: 0 / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.006943, allocations: 15.92 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.007165, allocations: 264.4 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.007244, allocations: 51.16 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.007262, allocations: 11.69 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.007276, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.221e-05/0.007358, allocations: 72.92 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.007359, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002928/0.007652, allocations: 137.5 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.007683, allocations: 81.09 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.00779, allocations: 207.5 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007803, allocations: 29.7 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.00785, allocations: 150.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.007875, allocations: 23.78 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.007906, allocations: 27.36 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003593/0.008265, allocations: 0.5001 MB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.008285, allocations: 8 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.008324, allocations: 68.69 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.008368, allocations: 51.22 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008369, allocations: 4.031 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001017/0.00847, allocations: 93.47 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.008481, allocations: 4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008485, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.008495, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.008551, allocations: 19.98 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.008553, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.008581, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.008587, allocations: 4 kB / 386.1 MB, free: 10.69 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 6.463e-05/0.008652, allocations: 160.6 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.008669, allocations: 23.86 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.008795, allocations: 94.42 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008797, allocations: 4 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.008799, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.008802, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.009075, allocations: 369.5 kB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009077, allocations: 0 / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.009105, allocations: 15.94 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009107, allocations: 0 / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.009113, allocations: 3.984 kB / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.009117, allocations: 8.031 kB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009118, allocations: 0 / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.009242, allocations: 247.4 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.009254, allocations: 11.95 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.009268, allocations: 0 / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.009311, allocations: 4.375 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.00934, allocations: 7.984 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.009353, allocations: 12 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.009411, allocations: 157.4 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009411, allocations: 0 / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.009615, allocations: 51.88 kB / 387.2 MB, free: 9.465 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.001054/0.01067, allocations: 0.5352 MB / 387.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01079, allocations: 51.59 kB / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01079, allocations: 0 / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.01082, allocations: 31.61 kB / 387.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01103, allocations: 35.91 kB / 387.9 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.0113, allocations: 197.9 kB / 388.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.01133, allocations: 71.45 kB / 388.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.01137, allocations: 12.97 kB / 388.2 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.01145, allocations: 94.19 kB / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01145, allocations: 0 / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of Templates: time 0.003789/0.01524, allocations: 2.795 MB / 391 MB, free: 5.785 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.0834048171527684]