Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 187 kB / 17.97 MB, free: 3.82 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.489/1.489, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.000996/0.0009962, allocations: 110.8 kB / 291.9 MB, free: 10.93 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.3697/0.3697, allocations: 44.14 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.92 kB / 457.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3734, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00292/0.3764, allocations: 1.763 MB / 0.5081 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3775, allocations: 0.8665 MB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.3776, allocations: 1.125 kB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3779, allocations: 41.78 kB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.378, allocations: 54.28 kB / 0.5091 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3783, allocations: 91.38 kB / 0.5091 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3784, allocations: 94.41 kB / 0.5092 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.3785, allocations: 10.52 kB / 0.5092 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.3786, allocations: 43.91 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.3787, allocations: 30.47 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3787, allocations: 6.469 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.3788, allocations: 42.08 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.3788, allocations: 19.81 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.3789, allocations: 39.7 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.379, allocations: 109.2 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3791, allocations: 0 / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3791, allocations: 0 / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3791, allocations: 2.812 kB / 0.5095 GB, free: 36.12 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.0004285/0.3795, allocations: 405.2 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3795, allocations: 12.88 kB / 0.5099 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3796, allocations: 14.41 kB / 0.5099 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3798, allocations: 212.9 kB / 0.5101 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3798, allocations: 7.344 kB / 0.5101 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3798, allocations: 10.98 kB / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.38, allocations: 55.98 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.38, allocations: 0 / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.38, allocations: 0 / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.38, allocations: 0 / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.3801, allocations: 22.5 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.3804, allocations: 292.3 kB / 0.5105 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3805, allocations: 60.11 kB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.3806, allocations: 16.92 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3806, allocations: 0 / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3808, allocations: 71.88 kB / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3808, allocations: 0 / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004554/0.3812, allocations: 169.9 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3813, allocations: 51.41 kB / 0.5109 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3814, allocations: 205 kB / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3814, allocations: 25.7 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.3815, allocations: 108.8 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3815, allocations: 32.33 kB / 0.5112 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3815, allocations: 19.41 kB / 0.5112 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.3816, allocations: 330.5 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.3817, allocations: 18.5 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.3817, allocations: 46.38 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/0.3818, allocations: 54 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3818, allocations: 0 / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.382, allocations: 106.6 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.382, allocations: 5.781 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.382, allocations: 0 / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.382, allocations: 3 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.3821, allocations: 14.67 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3821, allocations: 2.844 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.3822, allocations: 3.938 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3822, allocations: 14.81 kB / 0.5118 GB, free: 34.09 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.271e-05/0.3823, allocations: 128.6 kB / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3823, allocations: 13.56 kB / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3823, allocations: 21.92 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3823, allocations: 0 / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3823, allocations: 0 / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3824, allocations: 6.344 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3827, allocations: 395.6 kB / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3827, allocations: 0 / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.3827, allocations: 8.5 kB / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3827, allocations: 0 / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3827, allocations: 10.75 kB / 0.5124 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3827, allocations: 0 / 0.5124 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3827, allocations: 6.188 kB / 0.5124 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3831, allocations: 0.7834 MB / 0.5131 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.3831, allocations: 87.02 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3832, allocations: 6.781 kB / 0.5132 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.3832, allocations: 0 / 0.5132 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3833, allocations: 8.703 kB / 0.5132 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3833, allocations: 3.281 kB / 0.5132 GB, free: 32.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.3834, allocations: 147.9 kB / 0.5134 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3834, allocations: 6.625 kB / 0.5134 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.3837, allocations: 31.22 kB / 0.5134 GB, free: 32.61 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.0009117/0.3846, allocations: 468.9 kB / 0.5139 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.3848, allocations: 61.23 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3848, allocations: 0 / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.3849, allocations: 32.38 kB / 0.514 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3852, allocations: 34.8 kB / 0.514 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.3856, allocations: 371.9 kB / 0.5143 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.3858, allocations: 0.7118 MB / 0.515 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.3858, allocations: 23.75 kB / 0.5151 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3859, allocations: 20.52 kB / 0.5151 GB, free: 31.33 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3859, allocations: 2.625 kB / 0.5151 GB, free: 31.33 MB / 378.7 MB Notification: Performance of Templates: time 0.003804/0.3897, allocations: 1.67 MB / 0.5167 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches