Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 120.1 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.39/0.39, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3699, allocations: 60.81 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003165/0.3731, allocations: 1.755 MB / 0.5081 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3745, allocations: 0.8713 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.3746, allocations: 0 / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3749, allocations: 35.47 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3751, allocations: 42.53 kB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.3753, allocations: 101.9 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3755, allocations: 92.88 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3756, allocations: 5.984 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.3757, allocations: 44.06 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.3758, allocations: 27.17 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3758, allocations: 2.812 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.3759, allocations: 43.2 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.376, allocations: 17.62 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.376, allocations: 28.62 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3762, allocations: 107.8 kB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3762, allocations: 0 / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3762, allocations: 3.938 kB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3762, allocations: 0 / 0.5095 GB, free: 36.16 MB / 378.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.0005839/0.3768, allocations: 408 kB / 0.5099 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3769, allocations: 11.91 kB / 0.5099 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.3769, allocations: 10.5 kB / 0.5099 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3772, allocations: 206.3 kB / 0.5101 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3772, allocations: 7.281 kB / 0.5101 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3772, allocations: 10.3 kB / 0.5101 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3774, allocations: 51.56 kB / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3774, allocations: 3.938 kB / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3775, allocations: 3.938 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3775, allocations: 2.906 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.3776, allocations: 15.86 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.378, allocations: 285.5 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3782, allocations: 56.97 kB / 0.5105 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3782, allocations: 24.62 kB / 0.5105 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3783, allocations: 2.938 kB / 0.5105 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.3785, allocations: 67.45 kB / 0.5106 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3785, allocations: 4 kB / 0.5106 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.379, allocations: 173.2 kB / 0.5108 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3791, allocations: 51.41 kB / 0.5108 GB, free: 34.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3792, allocations: 174.4 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3793, allocations: 29.7 kB / 0.511 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3793, allocations: 97.38 kB / 0.5111 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3793, allocations: 21.78 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3794, allocations: 23.72 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.3795, allocations: 332.1 kB / 0.5115 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.3795, allocations: 19.53 kB / 0.5115 GB, free: 34.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.3796, allocations: 38.58 kB / 0.5115 GB, free: 34.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3797, allocations: 59.98 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3797, allocations: 0 / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000156/0.3799, allocations: 104.4 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3799, allocations: 5.719 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3799, allocations: 0 / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3799, allocations: 0 / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.38, allocations: 21.28 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.38, allocations: 0 / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.3801, allocations: 13.94 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3801, allocations: 2.969 kB / 0.5117 GB, free: 34.17 MB / 378.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 7.716e-05/0.3802, allocations: 126.4 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3802, allocations: 17.66 kB / 0.5119 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3803, allocations: 14.84 kB / 0.5119 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3803, allocations: 6.75 kB / 0.5119 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3803, allocations: 0 / 0.5119 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3803, allocations: 3.938 kB / 0.5119 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.3806, allocations: 385.4 kB / 0.5123 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3806, allocations: 3.938 kB / 0.5123 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.3807, allocations: 13.25 kB / 0.5123 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3807, allocations: 4.031 kB / 0.5123 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3807, allocations: 7.359 kB / 0.5123 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3807, allocations: 3.938 kB / 0.5123 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3807, allocations: 0 / 0.5123 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.3811, allocations: 0.7778 MB / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.3812, allocations: 91.92 kB / 0.5131 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3812, allocations: 0 / 0.5131 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.3813, allocations: 3.281 kB / 0.5131 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3813, allocations: 6.188 kB / 0.5131 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3813, allocations: 6.781 kB / 0.5132 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.3814, allocations: 140.8 kB / 0.5133 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3814, allocations: 0 / 0.5133 GB, free: 32.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.3818, allocations: 20.47 kB / 0.5133 GB, free: 32.69 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001089/0.3829, allocations: 476.5 kB / 0.5138 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.3831, allocations: 60.89 kB / 0.5138 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3831, allocations: 64 / 0.5138 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.3832, allocations: 38.16 kB / 0.5139 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3835, allocations: 21.77 kB / 0.5139 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3839, allocations: 356.2 kB / 0.5142 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3841, allocations: 0.6984 MB / 0.5149 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.3841, allocations: 13.3 kB / 0.5149 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3842, allocations: 19.31 kB / 0.5149 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3842, allocations: 3.938 kB / 0.5149 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.003718/0.3879, allocations: 1.675 MB / 0.5166 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches