Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001954/0.001954, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002539/0.002539, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.607/1.607, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.264/0.264, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 67.89 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.34, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00368/0.3437, allocations: 1.791 MB / 0.5629 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3457, allocations: 1.041 MB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.3458, allocations: 4 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.3464, allocations: 311.2 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.347, allocations: 255.2 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3473, allocations: 103.7 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.3476, allocations: 259.3 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.3477, allocations: 17.8 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3479, allocations: 127.5 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3482, allocations: 211.9 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3482, allocations: 8 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3483, allocations: 52.03 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.3485, allocations: 140.4 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3486, allocations: 103.1 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3491, allocations: 376.6 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3491, allocations: 0 / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3491, allocations: 0 / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3491, allocations: 3.984 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001036/0.3501, allocations: 0.6786 MB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3502, allocations: 8.031 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.3503, allocations: 52.59 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.3509, allocations: 386.5 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3509, allocations: 384 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.351, allocations: 8.125 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3512, allocations: 91.3 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3512, allocations: 0 / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3512, allocations: 3.938 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3512, allocations: 4 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3513, allocations: 35.97 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3517, allocations: 302.1 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.352, allocations: 105.2 kB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3521, allocations: 37.7 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3522, allocations: 4 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.3524, allocations: 120.9 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.3524, allocations: 0 / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005766/0.353, allocations: 205.6 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.3531, allocations: 93.03 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.3546, allocations: 1.026 MB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.3546, allocations: 29.7 kB / 0.5689 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3549, allocations: 232.1 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.3549, allocations: 31.77 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.355, allocations: 29.7 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.3553, allocations: 374.8 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3554, allocations: 27.98 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3555, allocations: 63.41 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.3557, allocations: 95.42 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3557, allocations: 0 / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003892/0.3561, allocations: 185.1 kB / 0.5699 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3561, allocations: 12.06 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3561, allocations: 0 / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3562, allocations: 0 / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3563, allocations: 27.98 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3563, allocations: 0 / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3564, allocations: 15.88 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3565, allocations: 4 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002652/0.3567, allocations: 221.7 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.3568, allocations: 55.59 kB / 0.5702 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.3573, allocations: 205.8 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3573, allocations: 4 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3573, allocations: 256 / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3573, allocations: 0 / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.3576, allocations: 265.2 kB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3576, allocations: 7.938 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.3576, allocations: 8 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3577, allocations: 3.938 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3577, allocations: 8 kB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3577, allocations: 0 / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3577, allocations: 0 / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.3581, allocations: 221.5 kB / 0.5709 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3582, allocations: 71.53 kB / 0.5709 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.3583, allocations: 8 kB / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.3584, allocations: 3.984 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3584, allocations: 7.984 kB / 0.571 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.3584, allocations: 12 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009554/0.3594, allocations: 0.7682 MB / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3594, allocations: 0 / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3597, allocations: 44 kB / 0.5718 GB, free: 8.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00176/0.3614, allocations: 442.2 kB / 0.5722 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.3617, allocations: 87.89 kB / 0.5723 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3617, allocations: 0 / 0.5723 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3618, allocations: 39.92 kB / 0.5723 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.3623, allocations: 82 kB / 0.5724 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.364, allocations: 0.8777 MB / 0.5732 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3643, allocations: 249.7 kB / 0.5735 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3644, allocations: 58.94 kB / 0.5735 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3645, allocations: 27.44 kB / 0.5736 GB, free: 7.246 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3645, allocations: 0 / 0.5736 GB, free: 7.246 MB / 414.1 MB Notification: Performance of Templates: time 0.0104/0.3749, allocations: 4.317 MB / 0.5778 GB, free: 2.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.400010904297233]