Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001475/0.001475, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2616/0.2616, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 67.89 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.441, allocations: 66.04 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003938/0.4449, allocations: 1.901 MB / 0.563 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.447, allocations: 1.014 MB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.4471, allocations: 4 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.4474, allocations: 43.7 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.4478, allocations: 99.48 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.448, allocations: 95.64 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.4483, allocations: 147.6 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.4484, allocations: 33.31 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.4486, allocations: 55.72 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.4487, allocations: 51.7 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.4487, allocations: 4 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4488, allocations: 51.92 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.4489, allocations: 23.92 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.449, allocations: 39.73 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.4493, allocations: 154 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4493, allocations: 4 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4493, allocations: 4 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4493, allocations: 0 / 0.5648 GB, free: 420 kB / 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.0008414/0.4502, allocations: 411 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4502, allocations: 12.03 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.4503, allocations: 16.84 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4507, allocations: 174.9 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4507, allocations: 8.375 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4507, allocations: 8.125 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.4511, allocations: 141.9 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4511, allocations: 3.984 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4511, allocations: 0 / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.4511, allocations: 4 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.4512, allocations: 47.91 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.4526, allocations: 448.7 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.4533, allocations: 86.61 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.4536, allocations: 40.83 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.4536, allocations: 7.984 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.4539, allocations: 113 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4539, allocations: 0 / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004281/0.4543, allocations: 149.5 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.4543, allocations: 55.39 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.4546, allocations: 211 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4546, allocations: 29.7 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4547, allocations: 116.1 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4548, allocations: 31.73 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.4548, allocations: 29.7 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.455, allocations: 326.8 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.4551, allocations: 27.98 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.4552, allocations: 64.27 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.4554, allocations: 104.2 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4554, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002836/0.4557, allocations: 133.8 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4557, allocations: 11.94 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4557, allocations: 96 / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4557, allocations: 7.938 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4558, allocations: 32.11 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4558, allocations: 7.938 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.4559, allocations: 7.953 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4559, allocations: 7.984 kB / 0.5675 GB, free: 13.35 MB / 414.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.0001379/0.456, allocations: 133.7 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4561, allocations: 15.91 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.4564, allocations: 135 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4564, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4564, allocations: 3.938 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4564, allocations: 7.984 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4566, allocations: 149.3 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4566, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.4567, allocations: 12 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4567, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.4567, allocations: 8 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4567, allocations: 0 / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4567, allocations: 3.984 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.4571, allocations: 192.9 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.4572, allocations: 16 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4572, allocations: 3.984 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.4572, allocations: 4 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.4573, allocations: 11.98 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.4573, allocations: 7.938 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4575, allocations: 147.2 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4575, allocations: 0 / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.4577, allocations: 31.92 kB / 0.5683 GB, free: 12.42 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.001702/0.4594, allocations: 441.9 kB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.4597, allocations: 79.89 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4597, allocations: 0 / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4598, allocations: 35.92 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4601, allocations: 47.91 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.4608, allocations: 279.4 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4609, allocations: 114 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7e-05/0.4609, allocations: 25.39 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.461, allocations: 19.44 kB / 0.5693 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.461, allocations: 0 / 0.5693 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.00616/0.4672, allocations: 2.121 MB / 0.5714 GB, free: 9.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.4875549878925085]