Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 105.3 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 181.1 kB / 19.37 MB, free: 3.707 MB / 14.72 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 / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3594, allocations: 60.82 MB / 0.5197 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002855/0.3623, allocations: 1.703 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3637, allocations: 0.8757 MB / 0.5222 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.3638, allocations: 5.156 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.3641, allocations: 38.66 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.3643, allocations: 60.02 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3646, allocations: 105.2 kB / 0.5224 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3648, allocations: 101.3 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3649, allocations: 15.39 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.365, allocations: 41.77 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.3651, allocations: 29.53 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3651, allocations: 3.906 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3652, allocations: 43.06 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.3653, allocations: 17.89 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.3653, allocations: 42.47 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3655, allocations: 113.3 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3656, allocations: 0 / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3656, allocations: 0 / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3656, allocations: 1.125 kB / 0.5228 GB, free: 1.566 MB / 382.1 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.0004577/0.366, allocations: 418.8 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3661, allocations: 8.688 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.3661, allocations: 18.53 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3664, allocations: 207.6 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3664, allocations: 2.344 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3664, allocations: 10.88 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3665, allocations: 53.66 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3666, allocations: 7.938 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3666, allocations: 1.188 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3666, allocations: 1.156 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.3667, allocations: 17.86 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.367, allocations: 287.7 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3672, allocations: 60.42 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.3672, allocations: 23.3 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3672, allocations: 1.969 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.3674, allocations: 65.47 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3674, allocations: 0 / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005084/0.3679, allocations: 177 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.368, allocations: 57.23 kB / 0.5241 GB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3681, allocations: 201.1 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3682, allocations: 27.39 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3682, allocations: 104.5 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3682, allocations: 24.78 kB / 0.5245 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.3683, allocations: 22.69 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3684, allocations: 326.8 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.3685, allocations: 21.98 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.3686, allocations: 42.7 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3687, allocations: 62.25 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3687, allocations: 3.938 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.3689, allocations: 105.9 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3689, allocations: 5.375 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3689, allocations: 1.812 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3689, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.369, allocations: 20 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.369, allocations: 1.281 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.3691, allocations: 6.031 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3691, allocations: 6.656 kB / 0.5251 GB, free: 15.54 MB / 398.1 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 9.796e-05/0.3692, allocations: 122.7 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3692, allocations: 18.14 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.3693, allocations: 16.78 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3693, allocations: 5.469 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3693, allocations: 0.6562 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3693, allocations: 10.95 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.3698, allocations: 385.1 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3698, allocations: 3 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.3698, allocations: 6.531 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3698, allocations: 1.281 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3699, allocations: 14.2 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3699, allocations: 2.391 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3699, allocations: 0 / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3701, allocations: 205.1 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.3702, allocations: 84.92 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3702, allocations: 9.984 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.3703, allocations: 7.953 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3703, allocations: 4.625 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3703, allocations: 4.656 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.3705, allocations: 154.9 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3705, allocations: 0 / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3708, allocations: 26.45 kB / 0.5261 GB, free: 14.64 MB / 398.1 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.001034/0.3718, allocations: 477.1 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.372, allocations: 64.39 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.372, allocations: 0 / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.3721, allocations: 28.25 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3724, allocations: 26.88 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.3729, allocations: 255.2 kB / 0.5269 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3732, allocations: 0.7104 MB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.3733, allocations: 21.05 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3733, allocations: 0 / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.003924/0.3772, allocations: 1.924 MB / 0.5295 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches