Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, 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.316/1.316, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001164/0.001164, allocations: 97.91 kB / 291.8 MB, free: 10.96 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.3595/0.3595, allocations: 44.13 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 59.91 kB / 457.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3449, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002814/0.3477, allocations: 1.767 MB / 0.5081 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3489, allocations: 0.8666 MB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.349, allocations: 0 / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.3492, allocations: 36.72 kB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.3494, allocations: 48.77 kB / 0.5091 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3496, allocations: 93.23 kB / 0.5091 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3498, allocations: 96.64 kB / 0.5092 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.3499, allocations: 10.34 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.3499, allocations: 35.69 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.35, allocations: 34.55 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.35, allocations: 2.562 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.3501, allocations: 39.92 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.3502, allocations: 22.95 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.3502, allocations: 43.44 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3504, allocations: 100.3 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3504, allocations: 0 / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3504, allocations: 3.938 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3504, allocations: 0 / 0.5095 GB, free: 36.27 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.000431/0.3508, allocations: 409.5 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3509, allocations: 12.31 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3509, allocations: 8.625 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3511, allocations: 206.6 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3511, allocations: 4.375 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3511, allocations: 10.78 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3513, allocations: 50.97 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3513, allocations: 3.062 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.3513, allocations: 4 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3513, allocations: 0 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.3514, allocations: 22.56 kB / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.3516, allocations: 284.9 kB / 0.5105 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3518, allocations: 55.48 kB / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.3519, allocations: 24.97 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3519, allocations: 7.031 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.352, allocations: 67.59 kB / 0.5106 GB, free: 35.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.352, allocations: 4 kB / 0.5106 GB, free: 35.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000468/0.3525, allocations: 177.9 kB / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3526, allocations: 51.41 kB / 0.5109 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3527, allocations: 193.2 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3527, allocations: 25.7 kB / 0.5111 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.3527, allocations: 98.41 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3528, allocations: 25.09 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.3528, allocations: 26.89 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.3529, allocations: 328.8 kB / 0.5115 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.3529, allocations: 18.72 kB / 0.5115 GB, free: 34.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.353, allocations: 35.45 kB / 0.5116 GB, free: 34.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.441e-05/0.3531, allocations: 62.47 kB / 0.5116 GB, free: 34.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3531, allocations: 0 / 0.5116 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.3532, allocations: 103.2 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3533, allocations: 8.953 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3533, allocations: 0 / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3533, allocations: 3.938 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.3534, allocations: 13.66 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3534, allocations: 0 / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.3534, allocations: 9.375 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3535, allocations: 2.969 kB / 0.5118 GB, free: 34.27 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 6.6e-05/0.3535, allocations: 126.1 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.3535, allocations: 17.91 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.3536, allocations: 16.05 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3536, allocations: 3.094 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3536, allocations: 3.188 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3536, allocations: 3.938 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.3539, allocations: 390 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3539, allocations: 0 / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.354, allocations: 11.81 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.354, allocations: 4 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.354, allocations: 6.656 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.354, allocations: 3.328 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.354, allocations: 3.188 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3544, allocations: 0.7875 MB / 0.5131 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.3544, allocations: 90.94 kB / 0.5132 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3544, allocations: 0 / 0.5132 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.3545, allocations: 6.906 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3545, allocations: 6.172 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3546, allocations: 10.81 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.3546, allocations: 147.2 kB / 0.5133 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3547, allocations: 0 / 0.5133 GB, free: 32.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.355, allocations: 28.62 kB / 0.5134 GB, free: 32.77 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.0008731/0.3559, allocations: 460.2 kB / 0.5138 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.356, allocations: 61.38 kB / 0.5139 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.356, allocations: 6.938 kB / 0.5139 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.3561, allocations: 32.17 kB / 0.5139 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3564, allocations: 25.47 kB / 0.5139 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.3568, allocations: 371.6 kB / 0.5143 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.357, allocations: 0.7054 MB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.357, allocations: 17.53 kB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.3571, allocations: 13.5 kB / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3571, allocations: 0 / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of Templates: time 0.003719/0.3608, allocations: 1.68 MB / 0.5166 GB, free: 31.3 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches