Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 107.2 kB / 17.06 MB, free: 6.102 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.001437/0.001438, allocations: 194.9 kB / 18 MB, free: 5.172 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.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.116/1.116, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 61.62 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2022, allocations: 80.69 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.003833/0.2061, allocations: 1.585 MB / 0.6513 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.208, allocations: 0.8885 MB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2082, allocations: 0 / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.2098, allocations: 1.75 MB / 0.6538 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2109, allocations: 0.951 MB / 0.6548 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.2113, allocations: 103.6 kB / 0.6549 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0021/0.2134, allocations: 2.235 MB / 0.657 GB, free: 5.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.2135, allocations: 15.97 kB / 0.6571 GB, free: 5.512 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.2154, allocations: 1.107 MB / 0.6581 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.2178, allocations: 2.051 MB / 0.6601 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.2181, allocations: 128 kB / 0.6603 GB, free: 2.223 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.2184, allocations: 155.9 kB / 0.6604 GB, free: 2.07 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005572/0.224, allocations: 4.995 MB / 0.6653 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004021/0.2281, allocations: 2.831 MB / 0.6681 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.235, allocations: 6.312 MB / 0.6742 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.2351, allocations: 0 / 0.6742 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.816e-06/0.2351, allocations: 0 / 0.6742 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001747/0.2353, allocations: 4 kB / 0.6742 GB, free: 3.84 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01488/0.2502, allocations: 10.41 MB / 0.6844 GB, free: 9.293 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/0.2503, allocations: 15.89 kB / 0.6844 GB, free: 9.277 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.2522, allocations: 1.169 MB / 0.6855 GB, free: 8.102 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02562/0.2779, allocations: 13.16 MB / 0.6984 GB, free: 10.84 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2779, allocations: 384 / 0.6984 GB, free: 10.84 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.278, allocations: 12.06 kB / 0.6984 GB, free: 10.82 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2782, allocations: 53.67 kB / 0.6985 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.2782, allocations: 0 / 0.6985 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2782, allocations: 0 / 0.6985 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2782, allocations: 0 / 0.6985 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.2783, allocations: 15.98 kB / 0.6985 GB, free: 10.75 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006147/0.2845, allocations: 3.549 MB / 0.7019 GB, free: 7.156 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.2848, allocations: 54.56 kB / 0.702 GB, free: 7.094 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.2848, allocations: 28.78 kB / 0.702 GB, free: 7.062 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.2849, allocations: 0 / 0.702 GB, free: 7.062 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2851, allocations: 67.39 kB / 0.7021 GB, free: 6.984 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.2851, allocations: 0 / 0.7021 GB, free: 6.984 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.002257/0.2874, allocations: 1.283 MB / 0.7033 GB, free: 5.688 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2875, allocations: 51.41 kB / 0.7034 GB, free: 5.625 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02051/0.308, allocations: 12.75 MB / 0.7158 GB, free: 8.977 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.308, allocations: 25.7 kB / 0.7159 GB, free: 8.945 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.006614/0.3147, allocations: 5.478 MB / 0.7212 GB, free: 3.465 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3148, allocations: 11.91 kB / 0.7212 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.315, allocations: 17.72 kB / 0.7212 GB, free: 3.43 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3152, allocations: 310 kB / 0.7215 GB, free: 3.121 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3154, allocations: 15.98 kB / 0.7216 GB, free: 3.105 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3155, allocations: 29.7 kB / 0.7216 GB, free: 3.07 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3156, allocations: 49.59 kB / 0.7216 GB, free: 3.016 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3156, allocations: 256 / 0.7216 GB, free: 3.016 MB / 0.5608 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003212/0.3189, allocations: 1.275 MB / 0.7229 GB, free: 1.727 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3189, allocations: 4 kB / 0.7229 GB, free: 1.723 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3189, allocations: 0 / 0.7229 GB, free: 1.723 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.319, allocations: 0 / 0.7229 GB, free: 1.723 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3191, allocations: 15.94 kB / 0.7229 GB, free: 1.707 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3191, allocations: 4.031 kB / 0.7229 GB, free: 1.703 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.3206, allocations: 39.98 kB / 0.7229 GB, free: 1.664 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3206, allocations: 4 kB / 0.7229 GB, free: 1.66 MB / 0.5608 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.004999/0.3256, allocations: 2.438 MB / 0.7253 GB, free: 15.21 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/0.3276, allocations: 1.23 MB / 0.7265 GB, free: 13.97 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.3302, allocations: 1.292 MB / 0.7278 GB, free: 12.67 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3302, allocations: 3.938 kB / 0.7278 GB, free: 12.67 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3302, allocations: 0 / 0.7278 GB, free: 12.67 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3303, allocations: 0 / 0.7278 GB, free: 12.67 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.3355, allocations: 3.901 MB / 0.7316 GB, free: 8.723 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3356, allocations: 0 / 0.7316 GB, free: 8.723 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3356, allocations: 7.984 kB / 0.7316 GB, free: 8.715 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.3356, allocations: 0 / 0.7316 GB, free: 8.715 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3357, allocations: 4 kB / 0.7316 GB, free: 8.711 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3357, allocations: 0 / 0.7316 GB, free: 8.711 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3357, allocations: 3.938 kB / 0.7316 GB, free: 8.707 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3377, allocations: 1.398 MB / 0.733 GB, free: 7.285 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.3391, allocations: 1.009 MB / 0.734 GB, free: 6.25 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/0.3395, allocations: 32 kB / 0.734 GB, free: 6.219 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.3401, allocations: 35.98 kB / 0.734 GB, free: 6.184 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.3402, allocations: 4 kB / 0.734 GB, free: 6.18 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3402, allocations: 4.125 kB / 0.734 GB, free: 6.176 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01393/0.3541, allocations: 8.763 MB / 0.7426 GB, free: 13.49 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3542, allocations: 0 / 0.7426 GB, free: 13.49 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002067/0.3562, allocations: 332 kB / 0.7429 GB, free: 13.17 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001202/0.3575, allocations: 408.2 kB / 0.7433 GB, free: 12.92 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3578, allocations: 47.92 kB / 0.7433 GB, free: 12.88 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3578, allocations: 0 / 0.7433 GB, free: 12.88 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.3579, allocations: 19.98 kB / 0.7434 GB, free: 12.86 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.3618, allocations: 0.8696 MB / 0.7442 GB, free: 11.98 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/0.3924, allocations: 17.34 MB / 0.7612 GB, free: 10.59 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007202/0.3997, allocations: 4.801 MB / 0.7658 GB, free: 5.758 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.006815/0.4065, allocations: 2.831 MB / 0.7686 GB, free: 2.914 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/0.4087, allocations: 1.116 MB / 0.7697 GB, free: 1.797 MB / 0.6077 GB Notification: Performance of SimCode: time 1.563e-06/0.4087, allocations: 0 / 0.7697 GB, free: 1.797 MB / 0.6077 GB Notification: Performance of Templates: time 0.7826/1.191, allocations: 30.48 MB / 0.7995 GB, free: 95.34 MB / 0.6079 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches