Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001526/0.001526, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.345/1.345, 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.2111/0.2111, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 71.83 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3391, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002922/0.342, allocations: 1.804 MB / 0.5207 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3434, allocations: 0.9566 MB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.3435, allocations: 1.062 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.3442, allocations: 307.4 kB / 0.522 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.3446, allocations: 218.2 kB / 0.5222 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.345, allocations: 171.1 kB / 0.5223 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.3453, allocations: 239.8 kB / 0.5226 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/0.3454, allocations: 14.55 kB / 0.5226 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3456, allocations: 123.7 kB / 0.5227 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3458, allocations: 189.7 kB / 0.5229 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.3459, allocations: 5.531 kB / 0.5229 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.346, allocations: 49.86 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3462, allocations: 133.6 kB / 0.523 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3463, allocations: 148.3 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.3468, allocations: 366.4 kB / 0.5235 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3468, allocations: 0 / 0.5235 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3468, allocations: 1.344 kB / 0.5235 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3468, allocations: 3.938 kB / 0.5235 GB, free: 1.035 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009589/0.3478, allocations: 0.7396 MB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3479, allocations: 9.969 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.3479, allocations: 50.97 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.3485, allocations: 457.6 kB / 0.5248 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3485, allocations: 3 kB / 0.5248 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3485, allocations: 10.55 kB / 0.5248 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3487, allocations: 87.12 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3487, allocations: 0.8438 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3488, allocations: 1.594 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3488, allocations: 0 / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3489, allocations: 34.89 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.3493, allocations: 381.2 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3496, allocations: 104.6 kB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.3497, allocations: 46.94 kB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3497, allocations: 2.125 kB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.3499, allocations: 105.6 kB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.35, allocations: 0 / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000475/0.3504, allocations: 210.9 kB / 0.5257 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3505, allocations: 83.14 kB / 0.5258 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3516, allocations: 1.035 MB / 0.5268 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3516, allocations: 26.95 kB / 0.5268 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3518, allocations: 230.2 kB / 0.527 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.3519, allocations: 32.44 kB / 0.5271 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3519, allocations: 30.67 kB / 0.5271 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3521, allocations: 369.6 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.3522, allocations: 27.58 kB / 0.5275 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.3523, allocations: 58.14 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3524, allocations: 90.78 kB / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3525, allocations: 0 / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002895/0.3528, allocations: 174.2 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3528, allocations: 5.281 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3528, allocations: 1.094 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3528, allocations: 2.125 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3529, allocations: 26.39 kB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.353, allocations: 1.5 kB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.3531, allocations: 7.797 kB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3531, allocations: 16.95 kB / 0.5278 GB, free: 13.99 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002154/0.3533, allocations: 225 kB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.3534, allocations: 58.78 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.3535, allocations: 57.12 kB / 0.5282 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3535, allocations: 2.625 kB / 0.5282 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3535, allocations: 4 kB / 0.5282 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3535, allocations: 1.406 kB / 0.5282 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.3539, allocations: 344.9 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3539, allocations: 0 / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.3539, allocations: 10.69 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3539, allocations: 1.219 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.354, allocations: 1.375 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.354, allocations: 1.031 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.354, allocations: 4.969 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3544, allocations: 208 kB / 0.5287 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3545, allocations: 146.5 kB / 0.5289 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3546, allocations: 6.281 kB / 0.5289 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.3546, allocations: 7.156 kB / 0.5289 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3547, allocations: 8.203 kB / 0.5289 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3547, allocations: 4.375 kB / 0.5289 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000928/0.3557, allocations: 0.7718 MB / 0.5296 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3557, allocations: 0 / 0.5296 GB, free: 12.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.356, allocations: 39.41 kB / 0.5297 GB, free: 12.79 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001019/0.357, allocations: 428.9 kB / 0.5301 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3573, allocations: 78.97 kB / 0.5302 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3573, allocations: 1.188 kB / 0.5302 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3574, allocations: 38.64 kB / 0.5302 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3578, allocations: 71.58 kB / 0.5303 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3589, allocations: 0.8713 MB / 0.5311 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3593, allocations: 0.843 MB / 0.5319 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3594, allocations: 57.94 kB / 0.532 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3595, allocations: 34.02 kB / 0.532 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3595, allocations: 0 / 0.532 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Templates: time 0.008141/0.3677, allocations: 3.747 MB / 0.5357 GB, free: 9.414 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches