Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001287, allocations: 110.4 kB / 17.06 MB, free: 6.016 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.001522/0.001522, allocations: 191.8 kB / 18 MB, free: 5.102 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.517/1.517, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.206/1.206, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 60.75 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1766, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002628/0.1793, allocations: 1.402 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1804, allocations: 0.573 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.1805, allocations: 3.938 kB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.1818, allocations: 1.723 MB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.1833, allocations: 1.75 MB / 0.655 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1836, allocations: 83.78 kB / 0.6551 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00321/0.1868, allocations: 4.314 MB / 0.6593 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1869, allocations: 8 kB / 0.6593 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.1897, allocations: 2.141 MB / 0.6614 GB, free: 1.051 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.1946, allocations: 4.056 MB / 0.6654 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007138/0.1954, allocations: 252 kB / 0.6656 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.196, allocations: 327.9 kB / 0.6659 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01147/0.2075, allocations: 9.962 MB / 0.6757 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.2179, allocations: 5.636 MB / 0.6812 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.2341, allocations: 12.54 MB / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2341, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2342, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0004843/0.2346, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03469/0.2693, allocations: 20.42 MB / 0.7134 GB, free: 11.46 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.2694, allocations: 8.031 kB / 0.7134 GB, free: 11.45 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/0.2744, allocations: 2.333 MB / 0.7156 GB, free: 9.105 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05778/0.3322, allocations: 26.19 MB / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3322, allocations: 384 / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.3324, allocations: 64.38 kB / 0.7413 GB, free: 14.7 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3335, allocations: 0.7902 MB / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3336, allocations: 0 / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.3337, allocations: 71.94 kB / 0.7421 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3337, allocations: 0 / 0.7421 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.3343, allocations: 459.9 kB / 0.7426 GB, free: 13.39 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3501, allocations: 7 MB / 0.7494 GB, free: 6.34 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3512, allocations: 294.6 kB / 0.7497 GB, free: 6.043 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.3517, allocations: 276.9 kB / 0.7499 GB, free: 5.77 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3517, allocations: 0 / 0.7499 GB, free: 5.77 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008571/0.3526, allocations: 0.7074 MB / 0.7506 GB, free: 5.043 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.3526, allocations: 3.938 kB / 0.7506 GB, free: 5.039 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.007149/0.3598, allocations: 4.362 MB / 0.7549 GB, free: 0.6484 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.3599, allocations: 81.09 kB / 0.755 GB, free: 0.5508 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7812/1.141, allocations: 24.83 MB / 0.7792 GB, free: 90.77 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003885/1.142, allocations: 93.58 kB / 0.7793 GB, free: 90.73 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01102/1.153, allocations: 10.82 MB / 0.7899 GB, free: 82.11 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/1.153, allocations: 79.02 kB / 0.79 GB, free: 82.1 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005915/1.154, allocations: 464.3 kB / 0.7904 GB, free: 82.08 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/1.154, allocations: 309.3 kB / 0.7907 GB, free: 81.78 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/1.155, allocations: 262.7 kB / 0.7909 GB, free: 81.77 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/1.155, allocations: 271.9 kB / 0.7912 GB, free: 81.77 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.156, allocations: 0.5905 MB / 0.7918 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.156, allocations: 1.438 kB / 0.7918 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007175/1.163, allocations: 4.095 MB / 0.7958 GB, free: 81.59 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/1.163, allocations: 37.95 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.163, allocations: 0.75 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.163, allocations: 3.312 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/1.164, allocations: 4.109 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.164, allocations: 0 / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.166, allocations: 70.67 kB / 0.7959 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006689/1.167, allocations: 0.8611 MB / 0.7967 GB, free: 81.44 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.007646/1.175, allocations: 4.908 MB / 0.8015 GB, free: 80.8 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003685/1.178, allocations: 2.393 MB / 0.8039 GB, free: 80.8 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/1.182, allocations: 2.563 MB / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.182, allocations: 0 / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.182, allocations: 0 / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.182, allocations: 0 / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008541/1.191, allocations: 7.619 MB / 0.8138 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.191, allocations: 0 / 0.8138 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/1.191, allocations: 3.781 kB / 0.8138 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/1.191, allocations: 0 / 0.8138 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003703/1.191, allocations: 196.2 kB / 0.814 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.191, allocations: 1.094 kB / 0.814 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.191, allocations: 3.844 kB / 0.814 GB, free: 76.86 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/1.196, allocations: 4.292 MB / 0.8182 GB, free: 75.21 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/1.199, allocations: 2.105 MB / 0.8202 GB, free: 73.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009783/1.199, allocations: 75.92 kB / 0.8203 GB, free: 73.09 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.201, allocations: 66.91 kB / 0.8204 GB, free: 73.03 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/1.201, allocations: 4 kB / 0.8204 GB, free: 73.02 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004586/1.201, allocations: 0.8602 MB / 0.8212 GB, free: 72.16 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02245/1.224, allocations: 17.24 MB / 0.8381 GB, free: 55.07 MB / 0.6079 GB Notification: Performance of sort global known variables: time 4.91e-07/1.224, allocations: 3.562 kB / 0.8381 GB, free: 55.07 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002909/1.227, allocations: 0.6404 MB / 0.8387 GB, free: 54.43 MB / 0.6079 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004764/1.227, allocations: 189.5 kB / 0.8389 GB, free: 54.24 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.228, allocations: 0.6752 MB / 0.8395 GB, free: 53.55 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.228, allocations: 3.844 kB / 0.8395 GB, free: 53.55 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/1.229, allocations: 423.4 kB / 0.8399 GB, free: 53.13 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.236, allocations: 1.703 MB / 0.8416 GB, free: 51.43 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/1.28, allocations: 35.22 MB / 0.876 GB, free: 16.38 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008607/1.289, allocations: 8.917 MB / 0.8847 GB, free: 7.418 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.008728/1.298, allocations: 4.697 MB / 0.8893 GB, free: 2.734 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/1.299, allocations: 0.9877 MB / 0.8902 GB, free: 1.746 MB / 0.6079 GB Notification: Performance of SimCode: time 1.793e-06/1.299, allocations: 0 / 0.8902 GB, free: 1.746 MB / 0.6079 GB Notification: Performance of Templates: time 0.2362/1.535, allocations: 82.69 MB / 0.971 GB, free: 14.93 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches