Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001212/0.001212, allocations: 88.2 kB / 20.95 MB, free: 3.605 MB / 18.57 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.001122/0.001122, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 158.6 MB / 186 MB, free: 2.684 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1394/0.1394, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 3.938 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.576e-05, allocations: 2.312 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002688/0.002714, allocations: 1.742 MB / 349.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.003606, allocations: 0.7843 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.003689, allocations: 3.938 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.004038, allocations: 55.75 kB / 350.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.004269, allocations: 51.75 kB / 350.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.004474, allocations: 87.64 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.004675, allocations: 99.69 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004806, allocations: 8.219 kB / 350.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004913, allocations: 51.78 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.005003, allocations: 27.91 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.005026, allocations: 8 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.005131, allocations: 47.91 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.005189, allocations: 23.92 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.005238, allocations: 19.88 kB / 350.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005417, allocations: 99.66 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00542, allocations: 0 / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005421, allocations: 0 / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005426, allocations: 0 / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004487/0.005875, allocations: 459.7 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.005914, allocations: 12.03 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.005967, allocations: 24.77 kB / 351.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.006122, allocations: 156.4 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.006147, allocations: 384 / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.00617, allocations: 4.375 kB / 351.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.006301, allocations: 58.94 kB / 351.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.006314, allocations: 3.938 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006325, allocations: 4 kB / 351.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.006335, allocations: 0 / 351.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.006377, allocations: 19.92 kB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.006679, allocations: 291.8 kB / 351.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.006784, allocations: 51.17 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.006813, allocations: 23.62 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.006826, allocations: 0 / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.351e-05/0.00692, allocations: 68.98 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006921, allocations: 0 / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003835/0.007304, allocations: 157.3 kB / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.007331, allocations: 55.41 kB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.007443, allocations: 245.9 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.007452, allocations: 25.7 kB / 352.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.007493, allocations: 162.9 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.007517, allocations: 23.8 kB / 352.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.007545, allocations: 31.36 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.007615, allocations: 0.4962 MB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.007644, allocations: 8.375 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.007684, allocations: 35.36 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.007754, allocations: 55.23 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007756, allocations: 4 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000106/0.007862, allocations: 97.52 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007875, allocations: 12.03 kB / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007881, allocations: 0 / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.007898, allocations: 0 / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.007976, allocations: 15.98 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.007985, allocations: 4 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.008011, allocations: 0 / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008018, allocations: 4 kB / 353.4 MB, free: 3.785 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.024e-05/0.008078, allocations: 168.5 kB / 353.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.008094, allocations: 15.91 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.00823, allocations: 107.2 kB / 353.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008233, allocations: 8 kB / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008238, allocations: 0 / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.008243, allocations: 3.984 kB / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.008479, allocations: 397 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00848, allocations: 0 / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.008505, allocations: 11.94 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008508, allocations: 3.984 kB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.008526, allocations: 8 kB / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008527, allocations: 0 / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008529, allocations: 3.984 kB / 354.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.008645, allocations: 263.4 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.008656, allocations: 11.91 kB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.008673, allocations: 4 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.008711, allocations: 4 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.008748, allocations: 7.984 kB / 354.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.008762, allocations: 4 kB / 354.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.008821, allocations: 187.1 kB / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008821, allocations: 0 / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.008997, allocations: 23.94 kB / 354.6 MB, free: 2.488 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.0009547/0.009951, allocations: 441.3 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01008, allocations: 63.53 kB / 355.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01008, allocations: 0 / 355.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.01012, allocations: 31.61 kB / 355.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01034, allocations: 23.98 kB / 355.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.01074, allocations: 237.8 kB / 355.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01078, allocations: 75.27 kB / 355.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01083, allocations: 20.55 kB / 355.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.01086, allocations: 20.48 kB / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01087, allocations: 0 / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of Templates: time 0.004459/0.01532, allocations: 1.848 MB / 357.4 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.848018798045814]