Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.2 MB / 250.8 MB, free: 8.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2147/0.2147, allocations: 46.89 MB / 351.8 MB, free: 7.324 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.88 kB / 496.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3499, allocations: 65.97 MB / 0.5494 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003053/0.3529, allocations: 1.736 MB / 0.5511 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3546, allocations: 1.029 MB / 0.5521 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.3547, allocations: 4 kB / 0.5521 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.355, allocations: 43.77 kB / 0.5521 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.3553, allocations: 95.59 kB / 0.5522 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.3555, allocations: 79.66 kB / 0.5523 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3557, allocations: 111.6 kB / 0.5524 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.3558, allocations: 4 kB / 0.5524 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.3559, allocations: 47.77 kB / 0.5524 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.3559, allocations: 27.86 kB / 0.5525 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.356, allocations: 4 kB / 0.5525 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.3561, allocations: 43.98 kB / 0.5525 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.3561, allocations: 27.84 kB / 0.5525 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.3562, allocations: 31.75 kB / 0.5526 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3564, allocations: 131.9 kB / 0.5527 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3564, allocations: 3.984 kB / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3564, allocations: 0 / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3564, allocations: 0 / 0.5527 GB, free: 2.074 MB / 398.1 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.0005548/0.3569, allocations: 418.7 kB / 0.5531 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.357, allocations: 12.02 kB / 0.5531 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.357, allocations: 8.891 kB / 0.5531 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3573, allocations: 220.8 kB / 0.5533 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3573, allocations: 4.375 kB / 0.5533 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3574, allocations: 8.125 kB / 0.5533 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3575, allocations: 57.59 kB / 0.5534 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3575, allocations: 0 / 0.5534 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3575, allocations: 4 kB / 0.5534 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3575, allocations: 4 kB / 0.5534 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.3576, allocations: 15.98 kB / 0.5534 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.358, allocations: 288.9 kB / 0.5537 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3581, allocations: 54.61 kB / 0.5537 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3582, allocations: 16.86 kB / 0.5538 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3582, allocations: 0 / 0.5538 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3583, allocations: 79.33 kB / 0.5538 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3583, allocations: 0 / 0.5538 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.3589, allocations: 181.3 kB / 0.554 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.359, allocations: 51.41 kB / 0.5541 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3592, allocations: 194.4 kB / 0.5542 GB, free: 304 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3592, allocations: 29.7 kB / 0.5543 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3592, allocations: 104.1 kB / 0.5544 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3593, allocations: 31.77 kB / 0.5544 GB, free: 128 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3593, allocations: 21.72 kB / 0.5544 GB, free: 100 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3595, allocations: 330.8 kB / 0.5547 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.3595, allocations: 19.98 kB / 0.5548 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.3596, allocations: 37.64 kB / 0.5548 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3597, allocations: 57.72 kB / 0.5548 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3597, allocations: 4 kB / 0.5548 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.3599, allocations: 101.5 kB / 0.5549 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3599, allocations: 8.188 kB / 0.555 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3599, allocations: 0 / 0.555 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3599, allocations: 3.938 kB / 0.555 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.36, allocations: 19.98 kB / 0.555 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.36, allocations: 4 kB / 0.555 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3601, allocations: 3.938 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3601, allocations: 4 kB / 0.555 GB, free: 15.49 MB / 414.1 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.0001161/0.3602, allocations: 140.8 kB / 0.5551 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3602, allocations: 15.91 kB / 0.5551 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3605, allocations: 115.2 kB / 0.5552 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3605, allocations: 0 / 0.5552 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3605, allocations: 0 / 0.5552 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3605, allocations: 3.938 kB / 0.5552 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.361, allocations: 387.3 kB / 0.5556 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.361, allocations: 4.031 kB / 0.5556 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.361, allocations: 11.98 kB / 0.5556 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.361, allocations: 0 / 0.5556 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.361, allocations: 11.94 kB / 0.5556 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.361, allocations: 384 / 0.5556 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.361, allocations: 0 / 0.5556 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3612, allocations: 208.2 kB / 0.5558 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.3613, allocations: 89.06 kB / 0.5559 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3613, allocations: 19.92 kB / 0.5559 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.3614, allocations: 0 / 0.5559 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.3614, allocations: 4 kB / 0.556 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3614, allocations: 7.984 kB / 0.556 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3616, allocations: 148.2 kB / 0.5561 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 0 / 0.5561 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3618, allocations: 27.92 kB / 0.5561 GB, free: 14.2 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001663/0.3635, allocations: 455 kB / 0.5566 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3637, allocations: 51.97 kB / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3637, allocations: 0 / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.3637, allocations: 28 kB / 0.5566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3641, allocations: 43.14 kB / 0.5567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.3646, allocations: 230.6 kB / 0.5569 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3649, allocations: 0.708 MB / 0.5576 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.365, allocations: 16.94 kB / 0.5576 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.365, allocations: 23.42 kB / 0.5576 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.365, allocations: 0 / 0.5576 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004728/0.3697, allocations: 1.762 MB / 0.5593 GB, free: 11.02 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches