Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 186.9 kB / 17.97 MB, free: 3.793 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.444/1.444, 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.001119/0.001119, allocations: 100.2 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.4659/0.4659, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 55.92 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.384, allocations: 60.8 MB / 0.5064 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003991/0.3881, allocations: 1.708 MB / 0.5081 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3902, allocations: 0.8588 MB / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.3904, allocations: 0 / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.3908, allocations: 52.91 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.3911, allocations: 60.56 kB / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3915, allocations: 87.88 kB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3917, allocations: 92.52 kB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.3918, allocations: 9.609 kB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3919, allocations: 35.75 kB / 0.5092 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.392, allocations: 37.39 kB / 0.5093 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3921, allocations: 3.938 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3922, allocations: 28.41 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.3923, allocations: 26.19 kB / 0.5093 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.3924, allocations: 32.44 kB / 0.5094 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3926, allocations: 118.8 kB / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3926, allocations: 0 / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3926, allocations: 0 / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3926, allocations: 0 / 0.5095 GB, free: 36.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005856/0.3932, allocations: 434 kB / 0.5099 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3933, allocations: 10.5 kB / 0.5099 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.3934, allocations: 10.28 kB / 0.5099 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3936, allocations: 221.5 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3937, allocations: 3.062 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3937, allocations: 4.125 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3939, allocations: 47.23 kB / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3939, allocations: 3.938 kB / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3939, allocations: 0 / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3939, allocations: 0 / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.394, allocations: 19.59 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.3943, allocations: 193.5 kB / 0.5104 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3945, allocations: 52.16 kB / 0.5104 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.3946, allocations: 24.03 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3946, allocations: 2.656 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.3949, allocations: 69.83 kB / 0.5105 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.3949, allocations: 0 / 0.5105 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003886/0.3953, allocations: 95.5 kB / 0.5106 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3954, allocations: 51.41 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3957, allocations: 266.6 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3957, allocations: 25.7 kB / 0.5109 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.3958, allocations: 112.4 kB / 0.511 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3958, allocations: 11.84 kB / 0.5111 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3959, allocations: 19.53 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.3959, allocations: 331.4 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.396, allocations: 13.86 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.3961, allocations: 36.55 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3963, allocations: 46.75 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3963, allocations: 0 / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002278/0.3965, allocations: 93.39 kB / 0.5116 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3966, allocations: 16.62 kB / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3966, allocations: 0 / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3966, allocations: 0 / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3967, allocations: 11.28 kB / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3968, allocations: 0 / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3968, allocations: 5.781 kB / 0.5116 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3969, allocations: 2.844 kB / 0.5116 GB, free: 34.47 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 (7): * Single equations (assignments): 7 * 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.0001063/0.397, allocations: 135.3 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.397, allocations: 13.34 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.3971, allocations: 24.33 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3971, allocations: 0 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3971, allocations: 0 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3971, allocations: 0 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3973, allocations: 195.2 kB / 0.512 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3973, allocations: 0 / 0.512 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.3973, allocations: 13.7 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3974, allocations: 0 / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3974, allocations: 4 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3974, allocations: 0 / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3974, allocations: 6.688 kB / 0.512 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.3979, allocations: 0.6939 MB / 0.5127 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3979, allocations: 87.86 kB / 0.5127 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.398, allocations: 2.938 kB / 0.5127 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.3981, allocations: 3.328 kB / 0.5127 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3981, allocations: 2.969 kB / 0.5127 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3982, allocations: 18.97 kB / 0.5128 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.3984, allocations: 195.2 kB / 0.513 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3984, allocations: 0 / 0.513 GB, free: 33.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005708/0.399, allocations: 23.53 kB / 0.513 GB, free: 33.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00138/0.4004, allocations: 403 kB / 0.5134 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.4006, allocations: 48.3 kB / 0.5134 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4006, allocations: 0 / 0.5134 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.4007, allocations: 19.66 kB / 0.5134 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4011, allocations: 25.08 kB / 0.5134 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.4018, allocations: 392.8 kB / 0.5138 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.4019, allocations: 0.718 MB / 0.5145 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.402, allocations: 16.67 kB / 0.5145 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.4021, allocations: 13.12 kB / 0.5146 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.4021, allocations: 3.938 kB / 0.5146 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.005996/0.4081, allocations: 1.488 MB / 0.516 GB, free: 31.77 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches