Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001279/0.001279, allocations: 105.4 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.001537/0.001537, allocations: 213.4 kB / 23 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.456/1.456, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2678/0.2678, allocations: 46.91 MB / 359.4 MB, free: 4.863 MB / 286.1 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 83.86 kB / 0.4947 GB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3551, allocations: 65.98 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003578/0.3587, allocations: 1.956 MB / 0.5611 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.361, allocations: 1.09 MB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3611, allocations: 0 / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.3615, allocations: 55.62 kB / 0.5622 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.3618, allocations: 95.53 kB / 0.5623 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3621, allocations: 95.66 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3623, allocations: 151.5 kB / 0.5625 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3625, allocations: 25.2 kB / 0.5625 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3626, allocations: 59.7 kB / 0.5626 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3627, allocations: 47.66 kB / 0.5626 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3627, allocations: 8 kB / 0.5626 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3628, allocations: 47.98 kB / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.3629, allocations: 31.89 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.363, allocations: 51.62 kB / 0.5628 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3633, allocations: 150 kB / 0.5629 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3633, allocations: 0 / 0.5629 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3633, allocations: 7.938 kB / 0.5629 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3633, allocations: 0 / 0.5629 GB, free: 1.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007469/0.364, allocations: 498.9 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3641, allocations: 12.03 kB / 0.5634 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.3641, allocations: 16.84 kB / 0.5634 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.3645, allocations: 229.7 kB / 0.5636 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3645, allocations: 8.375 kB / 0.5636 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3645, allocations: 8.375 kB / 0.5636 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3648, allocations: 116.5 kB / 0.5638 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3648, allocations: 0 / 0.5638 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3648, allocations: 4 kB / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3648, allocations: 4 kB / 0.5638 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.365, allocations: 43.91 kB / 0.5638 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.3656, allocations: 0.5088 MB / 0.5643 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.3659, allocations: 82.66 kB / 0.5644 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3661, allocations: 44.81 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3661, allocations: 0 / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3663, allocations: 91.25 kB / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3663, allocations: 0 / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004133/0.3667, allocations: 141.5 kB / 0.5646 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3668, allocations: 59.41 kB / 0.5647 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.367, allocations: 203.1 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.367, allocations: 25.7 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3671, allocations: 124 kB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.3672, allocations: 31.73 kB / 0.5651 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3673, allocations: 29.7 kB / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3675, allocations: 322.8 kB / 0.5654 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3676, allocations: 31.98 kB / 0.5654 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3678, allocations: 67.52 kB / 0.5655 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.368, allocations: 104.1 kB / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.368, allocations: 0 / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.3684, allocations: 141.4 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3684, allocations: 4 kB / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3684, allocations: 0 / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3684, allocations: 4 kB / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3685, allocations: 20.11 kB / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3685, allocations: 11.94 kB / 0.5658 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.3686, allocations: 7.953 kB / 0.5658 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3686, allocations: 8 kB / 0.5658 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001176/0.3687, allocations: 132 kB / 0.5659 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3688, allocations: 15.91 kB / 0.5659 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3691, allocations: 127 kB / 0.5661 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3691, allocations: 0 / 0.5661 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3691, allocations: 7.938 kB / 0.5661 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3691, allocations: 0 / 0.5661 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3693, allocations: 209.5 kB / 0.5663 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3693, allocations: 4 kB / 0.5663 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.3694, allocations: 11.98 kB / 0.5663 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3694, allocations: 0 / 0.5663 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3694, allocations: 0 / 0.5663 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.3694, allocations: 4 kB / 0.5663 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3694, allocations: 3.938 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.3698, allocations: 189 kB / 0.5665 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.3699, allocations: 96.97 kB / 0.5666 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.37, allocations: 7.938 kB / 0.5666 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.37, allocations: 4 kB / 0.5666 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.3701, allocations: 11.92 kB / 0.5666 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3701, allocations: 8 kB / 0.5666 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3702, allocations: 140.4 kB / 0.5667 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3702, allocations: 4.062 kB / 0.5667 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3705, allocations: 27.94 kB / 0.5668 GB, free: 12.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001541/0.372, allocations: 400.5 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.3723, allocations: 71.91 kB / 0.5672 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3723, allocations: 0 / 0.5672 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3724, allocations: 36.17 kB / 0.5672 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3727, allocations: 48.03 kB / 0.5673 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.3733, allocations: 291.2 kB / 0.5676 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3737, allocations: 0.7084 MB / 0.5683 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.3e-05/0.3738, allocations: 29.39 kB / 0.5683 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3738, allocations: 19.38 kB / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3738, allocations: 0 / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006082/0.3799, allocations: 1.919 MB / 0.5702 GB, free: 9.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.374167821370065]