Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001461/0.001461, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.001668/0.001668, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.262/0.262, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.83 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003806/0.3722, allocations: 1.593 MB / 0.5626 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3735, allocations: 0.5193 MB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3735, allocations: 7.938 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3738, allocations: 23.84 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.3742, allocations: 79.62 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3745, allocations: 111.3 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3747, allocations: 67.78 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3748, allocations: 15.98 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.3749, allocations: 23.86 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.3749, allocations: 27.8 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3749, allocations: 0 / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.375, allocations: 43.97 kB / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.3751, allocations: 4 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3751, allocations: 19.86 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3753, allocations: 82 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3753, allocations: 0 / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3753, allocations: 0 / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3753, allocations: 4 kB / 0.5636 GB, free: 1.566 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.0005392/0.3759, allocations: 313.9 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3759, allocations: 11.97 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.376, allocations: 8.891 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3762, allocations: 130.4 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3762, allocations: 8.375 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3762, allocations: 384 / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3764, allocations: 53.8 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3764, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3764, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3764, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.907e-05/0.3765, allocations: 31.92 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3769, allocations: 232.4 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3771, allocations: 46.56 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.3772, allocations: 16.94 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3772, allocations: 0 / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3772, allocations: 30.56 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3772, allocations: 0 / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005867/0.3778, allocations: 157.4 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3778, allocations: 51.41 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.378, allocations: 148.6 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.378, allocations: 25.7 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3781, allocations: 100.1 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3781, allocations: 31.72 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3781, allocations: 17.7 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3783, allocations: 322.8 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.3784, allocations: 27.97 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.3784, allocations: 20.17 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3786, allocations: 52.83 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3786, allocations: 0 / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.3788, allocations: 89.61 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3788, allocations: 6.5 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3788, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3788, allocations: 8 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.3789, allocations: 15.92 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3789, allocations: 0 / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.3789, allocations: 4 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3789, allocations: 0 / 0.5655 GB, free: 15.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 0.0001031/0.379, allocations: 125.8 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3791, allocations: 7.953 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.3793, allocations: 94.05 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3793, allocations: 4 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3793, allocations: 4 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3793, allocations: 0 / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.3798, allocations: 306.1 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3798, allocations: 0 / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3798, allocations: 15.92 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3798, allocations: 0 / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3798, allocations: 4.188 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3798, allocations: 4 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3798, allocations: 4 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3801, allocations: 191.3 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.3801, allocations: 4.234 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3801, allocations: 4 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.3802, allocations: 3.984 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3802, allocations: 7.984 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3802, allocations: 3.938 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3803, allocations: 119.2 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3803, allocations: 0 / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3806, allocations: 23.94 kB / 0.5664 GB, free: 14.48 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.001603/0.3822, allocations: 424 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3824, allocations: 55.89 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3824, allocations: 0 / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.3825, allocations: 23.98 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3829, allocations: 19.86 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3834, allocations: 194.2 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.218e-05/0.3835, allocations: 87 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.3835, allocations: 11.78 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3836, allocations: 15.42 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3836, allocations: 0 / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004371/0.388, allocations: 1.213 MB / 0.5684 GB, free: 12.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.283923785202205]