Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001421/0.001421, allocations: 107 kB / 19.8 MB, free: 2.5 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.001612/0.001612, allocations: 215.7 kB / 23 MB, free: 5.574 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2527/0.2527, allocations: 46.91 MB / 359.4 MB, free: 4.852 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 75.88 kB / 0.4947 GB, free: 8.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3456, allocations: 65.99 MB / 0.5592 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003232/0.3488, allocations: 1.752 MB / 0.5609 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3507, allocations: 1.037 MB / 0.5619 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.3508, allocations: 3.938 kB / 0.5619 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.3511, allocations: 87.69 kB / 0.562 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.3515, allocations: 119.5 kB / 0.5621 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3518, allocations: 79.67 kB / 0.5622 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.352, allocations: 111.7 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3521, allocations: 8 kB / 0.5623 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3522, allocations: 59.75 kB / 0.5623 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3523, allocations: 59.75 kB / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3523, allocations: 4 kB / 0.5624 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3524, allocations: 51.91 kB / 0.5625 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.3525, allocations: 23.92 kB / 0.5625 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.3526, allocations: 35.69 kB / 0.5625 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3528, allocations: 133.9 kB / 0.5626 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3528, allocations: 4 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.3528, allocations: 0 / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3528, allocations: 0 / 0.5626 GB, free: 1.477 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.0006644/0.3535, allocations: 437.3 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3535, allocations: 8.031 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3536, allocations: 20.78 kB / 0.5631 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.3539, allocations: 212.1 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3539, allocations: 8.375 kB / 0.5633 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.3539, allocations: 4.375 kB / 0.5633 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3541, allocations: 57.98 kB / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3541, allocations: 0 / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3541, allocations: 0 / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3541, allocations: 3.984 kB / 0.5634 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.3542, allocations: 19.98 kB / 0.5634 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3547, allocations: 292.8 kB / 0.5637 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3549, allocations: 54.69 kB / 0.5637 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.3549, allocations: 20.84 kB / 0.5637 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3549, allocations: 4 kB / 0.5637 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3551, allocations: 71.31 kB / 0.5638 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3551, allocations: 0 / 0.5638 GB, free: 128 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000591/0.3557, allocations: 181.3 kB / 0.564 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3557, allocations: 59.41 kB / 0.564 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.356, allocations: 224.2 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.356, allocations: 33.7 kB / 0.5643 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.3561, allocations: 104.1 kB / 0.5644 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3561, allocations: 23.8 kB / 0.5644 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3562, allocations: 21.72 kB / 0.5644 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3563, allocations: 334.8 kB / 0.5647 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3564, allocations: 16 kB / 0.5648 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.3565, allocations: 45.58 kB / 0.5648 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3566, allocations: 61.64 kB / 0.5649 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3566, allocations: 0 / 0.5649 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3568, allocations: 101.6 kB / 0.565 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3568, allocations: 12.02 kB / 0.565 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3568, allocations: 0 / 0.565 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3568, allocations: 4 kB / 0.565 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.3569, allocations: 15.94 kB / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3569, allocations: 384 / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.357, allocations: 8 kB / 0.565 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.357, allocations: 3.984 kB / 0.565 GB, free: 14.82 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.0001139/0.3571, allocations: 132.3 kB / 0.5651 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3571, allocations: 19.91 kB / 0.5651 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.3574, allocations: 119.1 kB / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3574, allocations: 4 kB / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3574, allocations: 0 / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3574, allocations: 3.984 kB / 0.5653 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.3579, allocations: 399.3 kB / 0.5656 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3579, allocations: 0 / 0.5656 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.358, allocations: 8 kB / 0.5656 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.358, allocations: 3.984 kB / 0.5657 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.358, allocations: 8.031 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.358, allocations: 3.938 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.358, allocations: 0 / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3583, allocations: 204.2 kB / 0.5659 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3584, allocations: 85.06 kB / 0.5659 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3584, allocations: 4 kB / 0.5659 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3585, allocations: 11.92 kB / 0.566 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.3585, allocations: 4 kB / 0.566 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3585, allocations: 8 kB / 0.566 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3587, allocations: 169.2 kB / 0.5661 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3587, allocations: 0 / 0.5661 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.359, allocations: 23.89 kB / 0.5661 GB, free: 13.52 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.001814/0.3608, allocations: 457.7 kB / 0.5666 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.361, allocations: 59.89 kB / 0.5666 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.361, allocations: 0 / 0.5666 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.3611, allocations: 31.92 kB / 0.5667 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3614, allocations: 31.72 kB / 0.5667 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.362, allocations: 271.2 kB / 0.567 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3624, allocations: 0.708 MB / 0.5677 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.3625, allocations: 20.86 kB / 0.5677 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.3625, allocations: 23.44 kB / 0.5677 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3625, allocations: 3.938 kB / 0.5677 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005206/0.3677, allocations: 1.764 MB / 0.5694 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.374065744690597]