Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 104.3 kB / 16.62 MB, free: 6.812 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.001226/0.001226, allocations: 193.9 kB / 17.55 MB, free: 5.949 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.274/1.274, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8542/0.8542, allocations: 119.3 MB / 410.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4707, allocations: 80.68 MB / 0.5692 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002551/0.4733, allocations: 1.478 MB / 0.5707 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.4743, allocations: 0.5597 MB / 0.5712 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.4743, allocations: 1.375 kB / 0.5712 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.4764, allocations: 3.427 MB / 0.5746 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.4788, allocations: 3.463 MB / 0.578 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.4792, allocations: 78.17 kB / 0.578 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006402/0.4856, allocations: 8.549 MB / 0.5864 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.4857, allocations: 0 / 0.5864 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006125/0.4919, allocations: 4.254 MB / 0.5905 GB, free: 28.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007192/0.4991, allocations: 8.088 MB / 0.5984 GB, free: 19.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.5011, allocations: 0.4922 MB / 0.5989 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.503, allocations: 0.5585 MB / 0.5995 GB, free: 18.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01328/0.5163, allocations: 19.9 MB / 0.6189 GB, free: 14.91 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01502/0.5313, allocations: 11.26 MB / 0.6299 GB, free: 3.547 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02261/0.554, allocations: 24.25 MB / 0.6536 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.554, allocations: 0 / 0.6536 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.224e-06/0.554, allocations: 0 / 0.6536 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0007466/0.5548, allocations: 0 / 0.6536 GB, free: 11.16 MB / 0.4983 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.04753/0.6023, allocations: 38.76 MB / 0.6914 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6024, allocations: 8.031 kB / 0.6914 GB, free: 3.988 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.608, allocations: 4.399 MB / 0.6957 GB, free: 15.53 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1016/0.7097, allocations: 51.57 MB / 0.7461 GB, free: 11.61 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.7097, allocations: 4.312 kB / 0.7461 GB, free: 11.61 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/0.7105, allocations: 128.4 kB / 0.7462 GB, free: 11.48 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.7133, allocations: 1.52 MB / 0.7477 GB, free: 9.957 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7133, allocations: 0 / 0.7477 GB, free: 9.957 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/0.7136, allocations: 128 kB / 0.7478 GB, free: 9.832 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7136, allocations: 4 kB / 0.7478 GB, free: 9.828 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7148, allocations: 0.8711 MB / 0.7487 GB, free: 8.957 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4409/1.156, allocations: 13.84 MB / 0.7622 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.157, allocations: 0.5297 MB / 0.7627 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009847/1.158, allocations: 0.5191 MB / 0.7632 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/1.158, allocations: 0 / 0.7632 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.16, allocations: 1.32 MB / 0.7645 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.16, allocations: 0 / 0.7645 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01159/1.171, allocations: 8.324 MB / 0.7726 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.171, allocations: 80.81 kB / 0.7727 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06665/1.238, allocations: 49.58 MB / 0.8211 GB, free: 104.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006526/1.239, allocations: 153.7 kB / 0.8213 GB, free: 104.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01684/1.256, allocations: 22.54 MB / 0.8433 GB, free: 81.99 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/1.256, allocations: 151.4 kB / 0.8434 GB, free: 81.86 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007634/1.257, allocations: 0.887 MB / 0.8443 GB, free: 80.98 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/1.257, allocations: 306 kB / 0.8446 GB, free: 80.67 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/1.258, allocations: 0.5078 MB / 0.8451 GB, free: 80.16 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/1.259, allocations: 0.5 MB / 0.8456 GB, free: 79.66 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.26, allocations: 1.081 MB / 0.8466 GB, free: 78.57 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.26, allocations: 2.625 kB / 0.8466 GB, free: 78.57 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008137/1.268, allocations: 7.822 MB / 0.8543 GB, free: 73.19 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/1.268, allocations: 38.47 kB / 0.8543 GB, free: 73.14 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.268, allocations: 0 / 0.8543 GB, free: 73.14 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.268, allocations: 0 / 0.8543 GB, free: 73.14 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/1.268, allocations: 4 kB / 0.8543 GB, free: 73.14 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.268, allocations: 0 / 0.8543 GB, free: 73.14 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/1.275, allocations: 138.9 kB / 0.8544 GB, free: 73.01 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.276, allocations: 1.714 MB / 0.8561 GB, free: 71.3 MB / 0.5923 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.01226/1.288, allocations: 9.667 MB / 0.8656 GB, free: 61.61 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006585/1.295, allocations: 4.52 MB / 0.87 GB, free: 57.03 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009227/1.304, allocations: 5.111 MB / 0.875 GB, free: 51.9 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.304, allocations: 7.984 kB / 0.875 GB, free: 51.89 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.304, allocations: 0 / 0.875 GB, free: 51.89 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.304, allocations: 3.938 kB / 0.875 GB, free: 51.89 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.329, allocations: 15.08 MB / 0.8897 GB, free: 36.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.329, allocations: 0 / 0.8897 GB, free: 36.75 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/1.329, allocations: 4 kB / 0.8897 GB, free: 36.74 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.329, allocations: 0 / 0.8897 GB, free: 36.74 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009136/1.33, allocations: 380 kB / 0.8901 GB, free: 36.37 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.33, allocations: 0 / 0.8901 GB, free: 36.37 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.33, allocations: 0 / 0.8901 GB, free: 36.37 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008239/1.338, allocations: 8.153 MB / 0.898 GB, free: 28.14 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006085/1.344, allocations: 3.883 MB / 0.9018 GB, free: 24.18 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003248/1.348, allocations: 131.9 kB / 0.9019 GB, free: 24.05 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.352, allocations: 132 kB / 0.9021 GB, free: 23.93 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.352, allocations: 7.938 kB / 0.9021 GB, free: 23.92 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001106/1.353, allocations: 1.711 MB / 0.9038 GB, free: 22.21 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05172/1.405, allocations: 34.49 MB / 0.9374 GB, free: 4.012 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.91e-07/1.405, allocations: 0 / 0.9374 GB, free: 4.012 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006297/1.411, allocations: 1.254 MB / 0.9387 GB, free: 2.762 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.0008646/1.412, allocations: 253.2 kB / 0.9389 GB, free: 2.516 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.414, allocations: 1.234 MB / 0.9401 GB, free: 1.27 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.414, allocations: 3 kB / 0.9401 GB, free: 1.27 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/1.415, allocations: 0.7182 MB / 0.9408 GB, free: 0.5391 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/1.43, allocations: 3.383 MB / 0.9441 GB, free: 13.16 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3494/1.78, allocations: 79.36 MB / 1.022 GB, free: 211.9 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02545/1.805, allocations: 17.33 MB / 1.039 GB, free: 205.6 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.02549/1.831, allocations: 9.439 MB / 1.048 GB, free: 201.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004071/1.835, allocations: 1.964 MB / 1.05 GB, free: 201.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.302e-06/1.835, allocations: 0 / 1.05 GB, free: 201.4 MB / 0.686 GB Notification: Performance of Templates: time 0.3587/2.194, allocations: 167.2 MB / 1.213 GB, free: 57.23 MB / 0.686 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches