Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001417/0.001417, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001669/0.001669, allocations: 209 kB / 24.48 MB, free: 3.938 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.512/1.512, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.93 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 68.17 kB / 0.4943 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3221, allocations: 65.47 MB / 0.5583 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003666/0.3258, allocations: 1.898 MB / 0.5601 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3277, allocations: 1.01 MB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3278, allocations: 0 / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3282, allocations: 47.66 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3285, allocations: 95.53 kB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3288, allocations: 99.64 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.329, allocations: 147.5 kB / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3292, allocations: 32.39 kB / 0.5615 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3293, allocations: 59.72 kB / 0.5616 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3294, allocations: 43.72 kB / 0.5616 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3294, allocations: 8 kB / 0.5616 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3295, allocations: 51.97 kB / 0.5617 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9e-05/0.3296, allocations: 23.92 kB / 0.5617 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.3297, allocations: 39.73 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.33, allocations: 155 kB / 0.5619 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.33, allocations: 8 kB / 0.5619 GB, free: 3.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.33, allocations: 0 / 0.5619 GB, free: 3.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.33, allocations: 4 kB / 0.5619 GB, free: 3.715 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.0007169/0.3307, allocations: 411 kB / 0.5623 GB, free: 3.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3307, allocations: 8.031 kB / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3308, allocations: 16.84 kB / 0.5623 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3311, allocations: 178.9 kB / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3312, allocations: 4.375 kB / 0.5625 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.3312, allocations: 16.11 kB / 0.5625 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.3315, allocations: 132.9 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3315, allocations: 4 kB / 0.5626 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3315, allocations: 7.984 kB / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3315, allocations: 0 / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.3316, allocations: 51.91 kB / 0.5627 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.3323, allocations: 448.7 kB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.3326, allocations: 86.66 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.3327, allocations: 40.83 kB / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3327, allocations: 0 / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.333, allocations: 113 kB / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.333, allocations: 0 / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004642/0.3334, allocations: 153.5 kB / 0.5635 GB, free: 1.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3335, allocations: 55.41 kB / 0.5635 GB, free: 1.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3337, allocations: 211 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3337, allocations: 25.7 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3338, allocations: 124.1 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.3339, allocations: 27.75 kB / 0.5639 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.3339, allocations: 29.7 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3341, allocations: 326.8 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.3342, allocations: 23.98 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3343, allocations: 72.2 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3345, allocations: 100.2 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3345, allocations: 4 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002856/0.3348, allocations: 133.8 kB / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3348, allocations: 4 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3348, allocations: 4 kB / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3348, allocations: 3.938 kB / 0.5646 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3349, allocations: 28.08 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3349, allocations: 15.94 kB / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.335, allocations: 15.94 kB / 0.5646 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.335, allocations: 4 kB / 0.5646 GB, free: 0.6562 MB / 398.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.00012/0.3351, allocations: 125.8 kB / 0.5647 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.3352, allocations: 19.91 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.3355, allocations: 131 kB / 0.5649 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3355, allocations: 7.984 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3355, allocations: 3.938 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3355, allocations: 0 / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3357, allocations: 153.3 kB / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3357, allocations: 0 / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.3358, allocations: 12 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3358, allocations: 3.938 kB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3358, allocations: 4 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3358, allocations: 3.984 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3358, allocations: 4 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.3362, allocations: 192.9 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.3362, allocations: 15.89 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3363, allocations: 4.062 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.3363, allocations: 4 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3364, allocations: 11.98 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3364, allocations: 7.938 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3365, allocations: 143.2 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3365, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3368, allocations: 35.92 kB / 0.5655 GB, free: 15.72 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 (10): * Single equations (assignments): 8 * 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.001644/0.3384, allocations: 439.7 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3387, allocations: 83.83 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3387, allocations: 4 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3388, allocations: 31.98 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3391, allocations: 42.53 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.3398, allocations: 313 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3399, allocations: 114 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.34, allocations: 19.44 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.34, allocations: 0 / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of Templates: time 0.00454/0.3445, allocations: 2.251 MB / 0.5687 GB, free: 12.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 8.127850412856787]