Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001683/0.001683, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.52/1.52, allocations: 230.6 MB / 257.5 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.2277/0.2277, allocations: 44.94 MB / 358.8 MB, free: 6.027 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [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.002346/0.002346, allocations: 67.91 kB / 0.4936 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3375, allocations: 65.47 MB / 0.5575 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003549/0.341, allocations: 1.902 MB / 0.5594 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.343, allocations: 1.003 MB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.3431, allocations: 4 kB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3434, allocations: 47.7 kB / 0.5604 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.3437, allocations: 103.5 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.344, allocations: 95.66 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3442, allocations: 147.5 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3443, allocations: 21.39 kB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3444, allocations: 63.72 kB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3445, allocations: 47.64 kB / 0.5609 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3446, allocations: 8 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3447, allocations: 47.98 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.3447, allocations: 31.92 kB / 0.5609 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.3448, allocations: 43.72 kB / 0.561 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.3451, allocations: 154 kB / 0.5611 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3451, allocations: 0 / 0.5611 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3451, allocations: 0 / 0.5611 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3451, allocations: 0 / 0.5611 GB, free: 3.688 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.0006777/0.3458, allocations: 411 kB / 0.5615 GB, free: 3.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3458, allocations: 15.97 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.3459, allocations: 16.84 kB / 0.5616 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3462, allocations: 178.9 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3462, allocations: 12.36 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3463, allocations: 12.12 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3466, allocations: 132.9 kB / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3466, allocations: 0 / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3466, allocations: 7.984 kB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3466, allocations: 0 / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.3468, allocations: 47.91 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.3474, allocations: 456.7 kB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3478, allocations: 82.66 kB / 0.5624 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3479, allocations: 36.83 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3479, allocations: 4 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3481, allocations: 117 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3481, allocations: 0 / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004272/0.3485, allocations: 149.5 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3486, allocations: 51.41 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3488, allocations: 215 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3488, allocations: 29.7 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3489, allocations: 116.1 kB / 0.5631 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.349, allocations: 31.73 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.349, allocations: 29.7 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3492, allocations: 322.8 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.3493, allocations: 27.98 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3494, allocations: 72.27 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3496, allocations: 100.1 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3496, allocations: 0 / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003106/0.3499, allocations: 141.9 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3499, allocations: 8 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3499, allocations: 96 / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.35, allocations: 7.938 kB / 0.5638 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3501, allocations: 19.98 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3501, allocations: 7.938 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.3501, allocations: 15.89 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3502, allocations: 7.938 kB / 0.5639 GB, free: 0.625 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.0001254/0.3503, allocations: 129.8 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3503, allocations: 15.97 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.3506, allocations: 139 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3506, allocations: 0 / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3506, allocations: 3.938 kB / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3506, allocations: 3.984 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3508, allocations: 149.3 kB / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3508, allocations: 0 / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.3509, allocations: 12 kB / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3509, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3509, allocations: 4 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3509, allocations: 4 kB / 0.5643 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3509, allocations: 4 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.3514, allocations: 196.8 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3514, allocations: 11.94 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3514, allocations: 11.92 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.3515, allocations: 4 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.3515, allocations: 11.97 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3515, allocations: 11.94 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3517, allocations: 147.2 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 4.062 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3519, allocations: 31.92 kB / 0.5647 GB, free: 15.68 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.001713/0.3536, allocations: 428 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.3539, allocations: 79.89 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3539, allocations: 3.938 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.354, allocations: 36.22 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3543, allocations: 56.66 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3549, allocations: 275.4 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.355, allocations: 109.7 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.3551, allocations: 25.41 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.3551, allocations: 19.42 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3551, allocations: 0 / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.006545/0.3617, allocations: 2.108 MB / 0.5678 GB, free: 12.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.234984593465924]