Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 116 kB / 17.12 MB, free: 5.883 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.00105/0.00105, allocations: 193.3 kB / 18.06 MB, free: 4.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.5023/0.5023, allocations: 228.4 MB / 247.2 MB, free: 5.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6535/0.6535, allocations: 120.7 MB / 420.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.89 kB / 0.588 GB, free: 18.92 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 84.65 MB / 0.6707 GB, free: 14.03 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.00234/0.1192, allocations: 1.578 MB / 0.6722 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1204, allocations: 0.9002 MB / 0.6731 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.1205, allocations: 0 / 0.6731 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.1212, allocations: 0.9004 MB / 0.674 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.1218, allocations: 0.5222 MB / 0.6745 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.122, allocations: 103.7 kB / 0.6746 GB, free: 10 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.1229, allocations: 1.166 MB / 0.6757 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.1229, allocations: 15.98 kB / 0.6758 GB, free: 8.82 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.1234, allocations: 0.5809 MB / 0.6763 GB, free: 8.238 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.1243, allocations: 1.166 MB / 0.6775 GB, free: 7.066 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1244, allocations: 64 kB / 0.6775 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1246, allocations: 99.92 kB / 0.6776 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.1271, allocations: 2.572 MB / 0.6801 GB, free: 4.328 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009644/0.1281, allocations: 1.427 MB / 0.6815 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.1305, allocations: 3.205 MB / 0.6846 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1305, allocations: 0 / 0.6846 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1305, allocations: 0 / 0.6846 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.1305, allocations: 0 / 0.6846 GB, free: 15.66 MB / 0.5295 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.004883/0.1354, allocations: 5.398 MB / 0.6899 GB, free: 10.16 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.1354, allocations: 12.03 kB / 0.6899 GB, free: 10.15 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/0.1359, allocations: 0.5906 MB / 0.6905 GB, free: 9.559 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007858/0.1438, allocations: 6.651 MB / 0.697 GB, free: 2.836 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1438, allocations: 4.562 kB / 0.697 GB, free: 2.832 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1438, allocations: 7.922 kB / 0.697 GB, free: 2.824 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1439, allocations: 45.69 kB / 0.6971 GB, free: 2.773 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1439, allocations: 3.938 kB / 0.6971 GB, free: 2.77 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.144, allocations: 0 / 0.6971 GB, free: 2.77 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.144, allocations: 0 / 0.6971 GB, free: 2.77 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.144, allocations: 19.97 kB / 0.6971 GB, free: 2.75 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1456, allocations: 1.859 MB / 0.6989 GB, free: 0.8438 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1457, allocations: 58.48 kB / 0.699 GB, free: 0.7773 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1458, allocations: 20.8 kB / 0.699 GB, free: 0.7539 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1458, allocations: 0 / 0.699 GB, free: 0.7539 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.1459, allocations: 59.39 kB / 0.699 GB, free: 0.6836 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1459, allocations: 8 kB / 0.699 GB, free: 0.6758 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0006992/0.1466, allocations: 0.6889 MB / 0.6997 GB, free: 15.98 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1466, allocations: 51.41 kB / 0.6998 GB, free: 15.91 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006221/0.1529, allocations: 6.446 MB / 0.7061 GB, free: 9.508 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1529, allocations: 25.7 kB / 0.7061 GB, free: 9.477 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.1551, allocations: 2.665 MB / 0.7087 GB, free: 6.809 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1552, allocations: 11.88 kB / 0.7087 GB, free: 6.797 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1552, allocations: 21.72 kB / 0.7087 GB, free: 6.77 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1553, allocations: 314 kB / 0.709 GB, free: 6.457 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.1554, allocations: 15.98 kB / 0.709 GB, free: 6.441 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.1554, allocations: 29.69 kB / 0.7091 GB, free: 6.406 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.263e-05/0.1555, allocations: 49.91 kB / 0.7091 GB, free: 6.352 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1555, allocations: 0 / 0.7091 GB, free: 6.352 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005943/0.1561, allocations: 0.6772 MB / 0.7098 GB, free: 5.664 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1561, allocations: 11.12 kB / 0.7098 GB, free: 5.656 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1561, allocations: 0 / 0.7098 GB, free: 5.656 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1561, allocations: 0 / 0.7098 GB, free: 5.656 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.1562, allocations: 11.94 kB / 0.7098 GB, free: 5.645 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1562, allocations: 4 kB / 0.7098 GB, free: 5.641 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1565, allocations: 23.94 kB / 0.7098 GB, free: 5.617 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1565, allocations: 4 kB / 0.7098 GB, free: 5.613 MB / 0.5452 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.001297/0.1578, allocations: 1.28 MB / 0.7111 GB, free: 4.324 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.1583, allocations: 0.6249 MB / 0.7117 GB, free: 3.695 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.1589, allocations: 0.6481 MB / 0.7123 GB, free: 3.043 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1589, allocations: 4 kB / 0.7123 GB, free: 3.039 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1589, allocations: 0 / 0.7123 GB, free: 3.039 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1589, allocations: 0 / 0.7123 GB, free: 3.039 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.1606, allocations: 2.023 MB / 0.7143 GB, free: 0.9688 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1606, allocations: 0 / 0.7143 GB, free: 0.9688 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.1606, allocations: 4 kB / 0.7143 GB, free: 0.9648 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1606, allocations: 0 / 0.7143 GB, free: 0.9648 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1606, allocations: 11.94 kB / 0.7143 GB, free: 0.9531 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1606, allocations: 0 / 0.7143 GB, free: 0.9531 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1606, allocations: 11.92 kB / 0.7143 GB, free: 0.9414 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.1613, allocations: 0.7441 MB / 0.715 GB, free: 180 kB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.1618, allocations: 0.5479 MB / 0.7156 GB, free: 15.6 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.162, allocations: 16.12 kB / 0.7156 GB, free: 15.59 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.1623, allocations: 24 kB / 0.7156 GB, free: 15.56 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.1623, allocations: 3.938 kB / 0.7156 GB, free: 15.56 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1624, allocations: 4 kB / 0.7156 GB, free: 15.56 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.004655/0.167, allocations: 4.424 MB / 0.7199 GB, free: 11.18 MB / 0.5608 GB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 0 / 0.7199 GB, free: 11.18 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0004324/0.1674, allocations: 171.9 kB / 0.7201 GB, free: 11.01 MB / 0.5608 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.001281/0.1687, allocations: 405.1 kB / 0.7205 GB, free: 10.71 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1689, allocations: 39.92 kB / 0.7205 GB, free: 10.67 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1689, allocations: 0 / 0.7205 GB, free: 10.67 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.1689, allocations: 20.05 kB / 0.7206 GB, free: 10.65 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009959/0.1699, allocations: 472 kB / 0.721 GB, free: 10.18 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.1787, allocations: 8.566 MB / 0.7294 GB, free: 1.578 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4441/0.6228, allocations: 2.738 MB / 0.732 GB, free: 54.49 MB / 0.561 GB Notification: Performance of simCode: alias equations: time 0.002317/0.6251, allocations: 1.395 MB / 0.7334 GB, free: 54.2 MB / 0.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.6258, allocations: 0.5656 MB / 0.734 GB, free: 54.1 MB / 0.561 GB Notification: Performance of SimCode: time 9.32e-07/0.6258, allocations: 0 / 0.734 GB, free: 54.1 MB / 0.561 GB Notification: Performance of Templates: time 0.03182/0.6576, allocations: 15.95 MB / 0.7495 GB, free: 50.66 MB / 0.561 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches