Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 105.4 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3893/0.3893, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001106, allocations: 67.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.387, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003284/0.3903, allocations: 1.792 MB / 0.5169 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3919, allocations: 1.031 MB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.392, allocations: 0 / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.3924, allocations: 39.61 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.3926, allocations: 77.41 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3929, allocations: 95.42 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.393, allocations: 103 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3932, allocations: 17.7 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.3932, allocations: 45.66 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.3933, allocations: 34.34 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3934, allocations: 0 / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.3934, allocations: 43.34 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3935, allocations: 20.25 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.3936, allocations: 33.95 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3937, allocations: 121.1 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3938, allocations: 4 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3938, allocations: 0 / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3938, allocations: 0 / 0.5185 GB, free: 35.56 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.0005146/0.3943, allocations: 410.3 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3943, allocations: 10.5 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.3944, allocations: 14.19 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3946, allocations: 210.1 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3946, allocations: 4.312 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3947, allocations: 10.88 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3948, allocations: 67.03 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3948, allocations: 0 / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3948, allocations: 2.875 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3949, allocations: 0 / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.3949, allocations: 15.81 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.3953, allocations: 296.2 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3954, allocations: 64.89 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.3955, allocations: 19.86 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3955, allocations: 0 / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.3957, allocations: 67.56 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3957, allocations: 0 / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.3963, allocations: 171.9 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3963, allocations: 54.27 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3965, allocations: 201.3 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3965, allocations: 25.7 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.3966, allocations: 98.64 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3966, allocations: 22.62 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3967, allocations: 29.25 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.3967, allocations: 325.2 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3968, allocations: 26.45 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.3969, allocations: 39.48 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.397, allocations: 56.66 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.397, allocations: 0 / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001602/0.3971, allocations: 107.9 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3972, allocations: 5.594 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3972, allocations: 4.031 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3972, allocations: 0 / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.3973, allocations: 14.41 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3973, allocations: 3.75 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.3974, allocations: 6.812 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3974, allocations: 3.281 kB / 0.5208 GB, free: 33.55 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 8.707e-05/0.3975, allocations: 130.7 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.3975, allocations: 9.656 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.3975, allocations: 15.19 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3975, allocations: 7.938 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3976, allocations: 6.812 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3976, allocations: 3.938 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.3979, allocations: 397.5 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3979, allocations: 0 / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.398, allocations: 8.719 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.398, allocations: 0 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.398, allocations: 11.69 kB / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.398, allocations: 4.031 kB / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.398, allocations: 0 / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.3984, allocations: 0.7798 MB / 0.5221 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.3984, allocations: 92.11 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.3985, allocations: 6.906 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.3986, allocations: 4 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3986, allocations: 8.359 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3986, allocations: 2.875 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.3987, allocations: 151.2 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 3.938 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.3991, allocations: 27.64 kB / 0.5224 GB, free: 32.06 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.001033/0.4001, allocations: 466.2 kB / 0.5229 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.4003, allocations: 57.05 kB / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4003, allocations: 0 / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.4004, allocations: 36.12 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4007, allocations: 35.73 kB / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.4012, allocations: 372.4 kB / 0.5233 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4014, allocations: 0.7083 MB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.4014, allocations: 12.69 kB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.4015, allocations: 19.19 kB / 0.5241 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4015, allocations: 0 / 0.5241 GB, free: 30.76 MB / 378.7 MB Notification: Performance of Templates: time 0.004226/0.4057, allocations: 1.697 MB / 0.5257 GB, free: 30.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches