Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 46.97 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003304/0.3438, allocations: 1.593 MB / 0.5634 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3458, allocations: 1.236 MB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.3458, allocations: 8 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3461, allocations: 23.86 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.3464, allocations: 91.55 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3467, allocations: 111.2 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3469, allocations: 67.84 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.347, allocations: 11.97 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.3471, allocations: 31.86 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3472, allocations: 31.84 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3472, allocations: 4 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3474, allocations: 95.89 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.3474, allocations: 19.91 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3474, allocations: 11.94 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3477, allocations: 141.9 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3477, allocations: 4 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3477, allocations: 0 / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3477, allocations: 0 / 0.5652 GB, free: 0.6836 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.0005115/0.3482, allocations: 329.6 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3482, allocations: 8.031 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3483, allocations: 12.89 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3485, allocations: 146.3 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3485, allocations: 384 / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3485, allocations: 384 / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3487, allocations: 93.23 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3487, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3487, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3487, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.3488, allocations: 27.97 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3492, allocations: 228.4 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3494, allocations: 50.55 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.3495, allocations: 16.95 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3495, allocations: 3.984 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3495, allocations: 34.5 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3495, allocations: 0 / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005539/0.3501, allocations: 153.4 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3501, allocations: 81.11 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3503, allocations: 148.3 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3503, allocations: 25.7 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3504, allocations: 96.12 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3504, allocations: 23.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3504, allocations: 13.72 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3506, allocations: 322.8 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.3507, allocations: 19.98 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.3508, allocations: 71.45 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3509, allocations: 52.86 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3509, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.3511, allocations: 81.62 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3511, allocations: 8 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3511, allocations: 7.922 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3511, allocations: 0 / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3512, allocations: 11.94 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3512, allocations: 0 / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.3512, allocations: 11.98 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3513, allocations: 8 kB / 0.5672 GB, free: 14.44 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.035e-05/0.3514, allocations: 117.8 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3514, allocations: 7.953 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.3516, allocations: 94.05 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3517, allocations: 4 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3517, allocations: 3.938 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3517, allocations: 0 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.3521, allocations: 302.1 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3521, allocations: 320 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.3521, allocations: 11.98 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3521, allocations: 4 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3521, allocations: 8 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3521, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3522, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3524, allocations: 187.3 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.3524, allocations: 12.23 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3524, allocations: 0 / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3525, allocations: 11.98 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.3525, allocations: 3.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3526, allocations: 7.984 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3527, allocations: 113.8 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3527, allocations: 3.938 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3529, allocations: 39.86 kB / 0.5681 GB, free: 13.45 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.001805/0.3547, allocations: 0.5119 MB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.355, allocations: 63.89 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.355, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.3551, allocations: 23.98 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3554, allocations: 19.86 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.3558, allocations: 165.6 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.3559, allocations: 88.58 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.356, allocations: 20.02 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.356, allocations: 27.36 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.356, allocations: 0 / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Templates: time 0.004755/0.3608, allocations: 1.846 MB / 0.5708 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.057483152006171]