Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001339/0.001339, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00149/0.00149, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2773/0.2773, allocations: 46.96 MB / 360.8 MB, free: 3.922 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 75.88 kB / 0.4967 GB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3511, allocations: 66.09 MB / 0.5612 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003514/0.3546, allocations: 1.6 MB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3568, allocations: 1.224 MB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3568, allocations: 7.938 kB / 0.564 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3571, allocations: 27.78 kB / 0.564 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.3575, allocations: 87.62 kB / 0.5641 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.3577, allocations: 83.75 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3579, allocations: 63.84 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.358, allocations: 11.98 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.3581, allocations: 35.78 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3582, allocations: 23.86 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3582, allocations: 4 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3584, allocations: 91.94 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.3584, allocations: 15.92 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.3585, allocations: 27.86 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3588, allocations: 138.2 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3588, allocations: 0 / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3588, allocations: 0 / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3588, allocations: 0 / 0.5645 GB, free: 0.668 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.0006146/0.3594, allocations: 333.7 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3594, allocations: 8.031 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.3595, allocations: 8.891 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3597, allocations: 132.7 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3597, allocations: 384 / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3598, allocations: 12.36 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.36, allocations: 89.61 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.36, allocations: 192 / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.36, allocations: 3.938 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.36, allocations: 4 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3601, allocations: 23.97 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3605, allocations: 216.6 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3607, allocations: 46.5 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.3608, allocations: 20.8 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3608, allocations: 4.078 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3609, allocations: 34.56 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3609, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005846/0.3614, allocations: 141.4 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3615, allocations: 77.11 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.3617, allocations: 147.9 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3617, allocations: 25.7 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.3618, allocations: 100.1 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3618, allocations: 19.8 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3618, allocations: 21.7 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.362, allocations: 314.8 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.3621, allocations: 15.98 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3622, allocations: 71.27 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3623, allocations: 44.78 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3623, allocations: 3.938 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.3625, allocations: 89.64 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3625, allocations: 4 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3625, allocations: 4 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3625, allocations: 0 / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.3626, allocations: 11.98 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3626, allocations: 0 / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3626, allocations: 4 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3626, allocations: 4 kB / 0.5665 GB, free: 14.47 MB / 414.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 9.789e-05/0.3627, allocations: 127 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.3628, allocations: 7.953 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.363, allocations: 86.05 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.363, allocations: 4 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.363, allocations: 0 / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.363, allocations: 0 / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3634, allocations: 294.4 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3634, allocations: 8.344 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.3635, allocations: 15.98 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3635, allocations: 0 / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3635, allocations: 0 / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3635, allocations: 3.984 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3635, allocations: 4 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3637, allocations: 187.3 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.3637, allocations: 7.953 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3638, allocations: 0 / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.3638, allocations: 11.98 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3639, allocations: 4 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3639, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.364, allocations: 117.3 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.364, allocations: 0 / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.3643, allocations: 43.8 kB / 0.5674 GB, free: 13.49 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.001848/0.3661, allocations: 0.5016 MB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3663, allocations: 43.97 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3663, allocations: 0 / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.3664, allocations: 35.91 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3668, allocations: 14.81 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.3672, allocations: 161.6 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.203e-05/0.3673, allocations: 79.08 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.3674, allocations: 24 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.3674, allocations: 19.44 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3674, allocations: 0 / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004842/0.3722, allocations: 1.816 MB / 0.57 GB, free: 10.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.446320150047541]