Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001831/0.001831, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002358/0.002358, allocations: 210.9 kB / 22.99 MB, free: 5.609 MB / 14.72 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.678/1.678, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] 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.2718/0.2718, allocations: 46.9 MB / 359.4 MB, free: 4.871 MB / 286.1 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 83.86 kB / 0.4947 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3425, allocations: 65.98 MB / 0.5591 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003471/0.346, allocations: 1.631 MB / 0.5607 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3473, allocations: 0.5538 MB / 0.5612 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.3473, allocations: 3.938 kB / 0.5612 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.3476, allocations: 19.84 kB / 0.5613 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.348, allocations: 75.69 kB / 0.5613 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3484, allocations: 115 kB / 0.5614 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3485, allocations: 67.84 kB / 0.5615 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3487, allocations: 15.97 kB / 0.5615 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.3487, allocations: 19.88 kB / 0.5615 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.3488, allocations: 23.86 kB / 0.5616 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3488, allocations: 0 / 0.5616 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3489, allocations: 35.98 kB / 0.5616 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.349, allocations: 19.91 kB / 0.5616 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.349, allocations: 19.81 kB / 0.5616 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3492, allocations: 82 kB / 0.5617 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3492, allocations: 4 kB / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3492, allocations: 0 / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3492, allocations: 4 kB / 0.5617 GB, free: 2.379 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005773/0.3498, allocations: 387 kB / 0.5621 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3498, allocations: 12.03 kB / 0.5621 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.3499, allocations: 4.891 kB / 0.5621 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3501, allocations: 192.2 kB / 0.5623 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3501, allocations: 384 / 0.5623 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3501, allocations: 384 / 0.5623 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3503, allocations: 54.17 kB / 0.5623 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3503, allocations: 4.188 kB / 0.5623 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3503, allocations: 7.938 kB / 0.5623 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3503, allocations: 4 kB / 0.5624 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.3504, allocations: 19.98 kB / 0.5624 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.3509, allocations: 280.9 kB / 0.5626 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3511, allocations: 54.42 kB / 0.5627 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3512, allocations: 20.94 kB / 0.5627 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3512, allocations: 3.938 kB / 0.5627 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3512, allocations: 30.56 kB / 0.5627 GB, free: 1.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3512, allocations: 0 / 0.5627 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.3518, allocations: 153.4 kB / 0.5629 GB, free: 1.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3518, allocations: 55.41 kB / 0.5629 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.352, allocations: 146.1 kB / 0.5631 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.352, allocations: 29.7 kB / 0.5631 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.3521, allocations: 96.12 kB / 0.5632 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3521, allocations: 19.8 kB / 0.5632 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3521, allocations: 21.7 kB / 0.5632 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3523, allocations: 322.8 kB / 0.5635 GB, free: 284 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.3523, allocations: 23.98 kB / 0.5636 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.3524, allocations: 28.03 kB / 0.5636 GB, free: 232 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3525, allocations: 52.77 kB / 0.5636 GB, free: 176 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3525, allocations: 0 / 0.5636 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.3527, allocations: 89.61 kB / 0.5637 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3527, allocations: 4 kB / 0.5637 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3528, allocations: 4 kB / 0.5637 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3528, allocations: 0 / 0.5637 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.3528, allocations: 12 kB / 0.5638 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3528, allocations: 3.984 kB / 0.5638 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.3529, allocations: 4 kB / 0.5638 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3529, allocations: 0 / 0.5638 GB, free: 52 kB / 398.1 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 (5): * Single equations (assignments): 5 * 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.0001184/0.353, allocations: 117.8 kB / 0.5639 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.353, allocations: 7.953 kB / 0.5639 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3533, allocations: 109.9 kB / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3533, allocations: 0 / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3533, allocations: 0 / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3533, allocations: 0 / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.3538, allocations: 358.4 kB / 0.5643 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3538, allocations: 0 / 0.5643 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3539, allocations: 12.3 kB / 0.5643 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3539, allocations: 4 kB / 0.5643 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3539, allocations: 0 / 0.5643 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3539, allocations: 8 kB / 0.5643 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3539, allocations: 3.938 kB / 0.5644 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3541, allocations: 187.4 kB / 0.5645 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.3542, allocations: 81.06 kB / 0.5646 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3542, allocations: 3.984 kB / 0.5646 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.3542, allocations: 8 kB / 0.5646 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3543, allocations: 7.938 kB / 0.5646 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.3543, allocations: 3.938 kB / 0.5646 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.356e-05/0.3544, allocations: 121.7 kB / 0.5647 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3544, allocations: 0 / 0.5647 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.3546, allocations: 15.94 kB / 0.5648 GB, free: 14.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001454/0.3561, allocations: 399.4 kB / 0.5651 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3563, allocations: 55.95 kB / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3563, allocations: 0 / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.3564, allocations: 27.92 kB / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3567, allocations: 19.36 kB / 0.5652 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.3573, allocations: 190.1 kB / 0.5654 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3578, allocations: 0.704 MB / 0.5661 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.3578, allocations: 23.69 kB / 0.5661 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3578, allocations: 11.44 kB / 0.5661 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3578, allocations: 0 / 0.5661 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Templates: time 0.00471/0.3626, allocations: 1.147 MB / 0.5673 GB, free: 12.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.442137713544071]