Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 99.59 kB / 16.62 MB, free: 6.805 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.001428/0.001428, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.547/1.547, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.695/1.695, allocations: 119.3 MB / 410.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 63.89 kB / 0.4904 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8957, allocations: 80.68 MB / 0.5692 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00275/0.8985, allocations: 1.484 MB / 0.5707 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.8996, allocations: 0.5627 MB / 0.5712 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.8997, allocations: 5.344 kB / 0.5712 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.9001, allocations: 227.8 kB / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.9006, allocations: 264 kB / 0.5717 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.9009, allocations: 74.23 kB / 0.5718 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.9014, allocations: 0.5863 MB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.9015, allocations: 10.72 kB / 0.5724 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.9019, allocations: 309.1 kB / 0.5727 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.9024, allocations: 0.5371 MB / 0.5732 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.9025, allocations: 33.81 kB / 0.5732 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.9028, allocations: 103.9 kB / 0.5733 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.9041, allocations: 1.258 MB / 0.5745 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.9047, allocations: 0.7186 MB / 0.5752 GB, free: 39.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.9065, allocations: 1.6 MB / 0.5768 GB, free: 38.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9065, allocations: 0 / 0.5768 GB, free: 38.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.105e-06/0.9065, allocations: 1.594 kB / 0.5768 GB, free: 38.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.9065, allocations: 0 / 0.5768 GB, free: 38.14 MB / 462.3 MB 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.003391/0.9099, allocations: 2.768 MB / 0.5795 GB, free: 35.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/0.91, allocations: 9.219 kB / 0.5795 GB, free: 35.97 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.9104, allocations: 289.4 kB / 0.5798 GB, free: 35.81 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/0.9154, allocations: 3.324 MB / 0.583 GB, free: 33.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.9155, allocations: 5.562 kB / 0.583 GB, free: 33.77 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.9155, allocations: 10.38 kB / 0.5831 GB, free: 33.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.9159, allocations: 147.3 kB / 0.5832 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9159, allocations: 0 / 0.5832 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.9159, allocations: 8.812 kB / 0.5832 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.916, allocations: 1.25 kB / 0.5832 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.9161, allocations: 72.95 kB / 0.5833 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.9177, allocations: 1.005 MB / 0.5843 GB, free: 33.03 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.9179, allocations: 76.86 kB / 0.5843 GB, free: 32.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.918, allocations: 63.27 kB / 0.5844 GB, free: 32.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.918, allocations: 1.062 kB / 0.5844 GB, free: 32.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.9184, allocations: 174.1 kB / 0.5846 GB, free: 32.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.9184, allocations: 0 / 0.5846 GB, free: 32.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.00122/0.9196, allocations: 0.6522 MB / 0.5852 GB, free: 32.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.9197, allocations: 87.89 kB / 0.5853 GB, free: 32.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.9233, allocations: 3.185 MB / 0.5884 GB, free: 30 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.9234, allocations: 37.7 kB / 0.5884 GB, free: 29.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008688/0.9242, allocations: 1.24 MB / 0.5896 GB, free: 28.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.9243, allocations: 19.95 kB / 0.5897 GB, free: 28.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.9244, allocations: 81.7 kB / 0.5897 GB, free: 28.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.9245, allocations: 306 kB / 0.59 GB, free: 28.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.9246, allocations: 52 kB / 0.5901 GB, free: 28.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.9247, allocations: 47.98 kB / 0.5901 GB, free: 28.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.9248, allocations: 164.2 kB / 0.5903 GB, free: 28.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9248, allocations: 4 kB / 0.5903 GB, free: 28.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006663/0.9255, allocations: 0.6088 MB / 0.5909 GB, free: 27.4 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.9256, allocations: 37.69 kB / 0.5909 GB, free: 27.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.9256, allocations: 4 kB / 0.5909 GB, free: 27.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.9256, allocations: 3.938 kB / 0.5909 GB, free: 27.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.9257, allocations: 4 kB / 0.5909 GB, free: 27.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9257, allocations: 0 / 0.5909 GB, free: 27.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.926, allocations: 19.94 kB / 0.5909 GB, free: 27.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.9261, allocations: 112.1 kB / 0.591 GB, free: 27.21 MB / 462.3 MB 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.0007066/0.9268, allocations: 0.7372 MB / 0.5918 GB, free: 26.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.9271, allocations: 304.1 kB / 0.5921 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.9273, allocations: 333.8 kB / 0.5924 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9273, allocations: 0 / 0.5924 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9274, allocations: 0 / 0.5924 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9274, allocations: 8.078 kB / 0.5924 GB, free: 25.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.9283, allocations: 1.093 MB / 0.5934 GB, free: 24.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9283, allocations: 7.984 kB / 0.5935 GB, free: 24.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.9283, allocations: 7.938 kB / 0.5935 GB, free: 24.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9283, allocations: 0 / 0.5935 GB, free: 24.67 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.9284, allocations: 28 kB / 0.5935 GB, free: 24.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9284, allocations: 0 / 0.5935 GB, free: 24.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9284, allocations: 0 / 0.5935 GB, free: 24.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.9289, allocations: 0.665 MB / 0.5941 GB, free: 23.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.9292, allocations: 333.3 kB / 0.5945 GB, free: 23.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9293, allocations: 16 kB / 0.5945 GB, free: 23.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.9295, allocations: 15.98 kB / 0.5945 GB, free: 23.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.9295, allocations: 4 kB / 0.5945 GB, free: 23.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.9296, allocations: 112 kB / 0.5946 GB, free: 23.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001893/0.9315, allocations: 2.203 MB / 0.5968 GB, free: 21.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9315, allocations: 0 / 0.5968 GB, free: 21.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003614/0.9319, allocations: 112 kB / 0.5969 GB, free: 21.16 MB / 462.3 MB 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.0001745/0.9321, allocations: 135.1 kB / 0.597 GB, free: 21.02 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.9324, allocations: 215.4 kB / 0.5972 GB, free: 20.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9324, allocations: 3.938 kB / 0.5972 GB, free: 20.8 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.9325, allocations: 147.4 kB / 0.5973 GB, free: 20.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.9332, allocations: 225.5 kB / 0.5976 GB, free: 20.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.938, allocations: 4.722 MB / 0.6022 GB, free: 15.66 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/0.9389, allocations: 1.695 MB / 0.6038 GB, free: 13.93 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001425/0.9404, allocations: 0.5767 MB / 0.6044 GB, free: 13.35 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.9405, allocations: 131.4 kB / 0.6045 GB, free: 13.22 MB / 462.3 MB Notification: Performance of SimCode: time 1.703e-06/0.9405, allocations: 0 / 0.6045 GB, free: 13.22 MB / 462.3 MB Notification: Performance of Templates: time 0.02531/0.9658, allocations: 10.66 MB / 0.6149 GB, free: 2.52 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches