Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 112.8 kB / 17.77 MB, free: 5.359 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.001009/0.00101, allocations: 184.1 kB / 18.7 MB, free: 4.434 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.306/1.306, allocations: 222.9 MB / 242.4 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.197/0.197, allocations: 44.2 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3835, allocations: 60.82 MB / 0.519 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003169/0.3867, allocations: 1.903 MB / 0.5208 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3883, allocations: 0.9928 MB / 0.5218 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3884, allocations: 1.281 kB / 0.5218 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.389, allocations: 221 kB / 0.522 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.3894, allocations: 169.6 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.3898, allocations: 174.8 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.3901, allocations: 244.6 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3903, allocations: 27.36 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3904, allocations: 114.1 kB / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3906, allocations: 153.8 kB / 0.5229 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3907, allocations: 12.5 kB / 0.5229 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3908, allocations: 62.2 kB / 0.5229 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.3909, allocations: 51.33 kB / 0.523 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.391, allocations: 98.22 kB / 0.5231 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.3913, allocations: 225.1 kB / 0.5233 GB, free: 1.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3913, allocations: 1.438 kB / 0.5233 GB, free: 1.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3914, allocations: 0 / 0.5233 GB, free: 1.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3914, allocations: 4 kB / 0.5233 GB, free: 1.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007022/0.3921, allocations: 0.5679 MB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3921, allocations: 9.094 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.3922, allocations: 30 kB / 0.5239 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3926, allocations: 276.1 kB / 0.5242 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3926, allocations: 3.281 kB / 0.5242 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.3926, allocations: 14.77 kB / 0.5242 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3929, allocations: 115.4 kB / 0.5243 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3929, allocations: 7.953 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3929, allocations: 6.656 kB / 0.5243 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.393, allocations: 1.938 kB / 0.5243 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3931, allocations: 44.7 kB / 0.5243 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.3937, allocations: 474.9 kB / 0.5248 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.3941, allocations: 120.3 kB / 0.5249 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3942, allocations: 50.61 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3942, allocations: 2.484 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.3945, allocations: 120.4 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.3945, allocations: 0 / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001388/0.3959, allocations: 0.502 MB / 0.5256 GB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.396, allocations: 84.61 kB / 0.5256 GB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3964, allocations: 430.6 kB / 0.5261 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3964, allocations: 32.45 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3966, allocations: 151.8 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.3966, allocations: 68.52 kB / 0.5263 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.3967, allocations: 40.7 kB / 0.5263 GB, free: 15.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3969, allocations: 349.4 kB / 0.5267 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.397, allocations: 56.66 kB / 0.5267 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3971, allocations: 100.3 kB / 0.5268 GB, free: 14.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.3974, allocations: 161 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3974, allocations: 3.938 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003882/0.3978, allocations: 242.4 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3978, allocations: 9.875 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3978, allocations: 0 / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3979, allocations: 2.406 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.398, allocations: 38.08 kB / 0.5273 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.398, allocations: 10.16 kB / 0.5273 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.3981, allocations: 12.61 kB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3981, allocations: 6.969 kB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001571/0.3983, allocations: 167.9 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.3983, allocations: 34.03 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.3984, allocations: 43.66 kB / 0.5275 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3984, allocations: 2.438 kB / 0.5275 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3985, allocations: 1.438 kB / 0.5275 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3985, allocations: 7.984 kB / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.3994, allocations: 0.7251 MB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3994, allocations: 2.219 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.3995, allocations: 36.17 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3995, allocations: 2.375 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3995, allocations: 4.125 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3995, allocations: 2.719 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3995, allocations: 1.469 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.4001, allocations: 429.6 kB / 0.5287 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.4001, allocations: 104.2 kB / 0.5288 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.4002, allocations: 8.609 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4003, allocations: 11.78 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4004, allocations: 25.28 kB / 0.5288 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.4004, allocations: 8.5 kB / 0.5288 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.4008, allocations: 316.3 kB / 0.5291 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4008, allocations: 1.094 kB / 0.5292 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.4012, allocations: 50.95 kB / 0.5292 GB, free: 12.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001192/0.4024, allocations: 0.5182 MB / 0.5297 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.4027, allocations: 158.9 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4027, allocations: 0 / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.4029, allocations: 83.38 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.4035, allocations: 65.92 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.4043, allocations: 0.5515 MB / 0.5305 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4047, allocations: 0.7792 MB / 0.5313 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.4048, allocations: 40.78 kB / 0.5313 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.4049, allocations: 29.39 kB / 0.5314 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4049, allocations: 7.938 kB / 0.5314 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Templates: time 0.007863/0.4128, allocations: 3.121 MB / 0.5344 GB, free: 9.758 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches