Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 175.8 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 101.4 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8384/0.8384, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.393e-05, allocations: 4 kB / 0.5288 GB, free: 1.328 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4766, allocations: 82.83 MB / 0.6097 GB, free: 13.07 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.6119, allocations: 124.6 MB / 0.7314 GB, free: 292 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001518/0.612, allocations: 67.89 kB / 0.7315 GB, free: 228 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.6249, allocations: 4.455 MB / 0.7358 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.625, allocations: 0 / 0.7358 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.625, allocations: 8 kB / 0.7358 GB, free: 11.74 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00105/0.6261, allocations: 0.6355 MB / 0.7364 GB, free: 11.06 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6261, allocations: 11.97 kB / 0.7364 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.6262, allocations: 35.66 kB / 0.7365 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.6264, allocations: 235.1 kB / 0.7367 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.6265, allocations: 8 kB / 0.7367 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.6266, allocations: 43.8 kB / 0.7368 GB, free: 10.69 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003223/0.6269, allocations: 201 kB / 0.7369 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.6273, allocations: 303.5 kB / 0.7372 GB, free: 10.19 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.6274, allocations: 7.984 kB / 0.7372 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.6274, allocations: 3.953 kB / 0.7372 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6274, allocations: 4 kB / 0.7373 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.6279, allocations: 427.2 kB / 0.7377 GB, free: 9.723 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.6286, allocations: 453.5 kB / 0.7381 GB, free: 9.266 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.6289, allocations: 214.5 kB / 0.7383 GB, free: 9.055 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.629, allocations: 8.562 kB / 0.7383 GB, free: 9.047 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.629, allocations: 43.12 kB / 0.7383 GB, free: 8.996 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.629, allocations: 0 / 0.7383 GB, free: 8.996 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001502/0.6305, allocations: 0.7175 MB / 0.739 GB, free: 8.266 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.6305, allocations: 59.97 kB / 0.7391 GB, free: 8.195 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.6306, allocations: 105 kB / 0.7392 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.6307, allocations: 25.7 kB / 0.7392 GB, free: 8.055 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.6307, allocations: 85.45 kB / 0.7393 GB, free: 7.969 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6309, allocations: 244.4 kB / 0.7395 GB, free: 7.727 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.6309, allocations: 3.938 kB / 0.7395 GB, free: 7.723 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.631, allocations: 342.8 kB / 0.7399 GB, free: 7.379 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.6313, allocations: 234.5 kB / 0.7401 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.6317, allocations: 409.5 kB / 0.7405 GB, free: 6.688 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.6321, allocations: 301.9 kB / 0.7408 GB, free: 6.391 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6321, allocations: 7.953 kB / 0.7408 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001703/0.6339, allocations: 0.9521 MB / 0.7417 GB, free: 5.422 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6339, allocations: 8 kB / 0.7417 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.6339, allocations: 4 kB / 0.7417 GB, free: 5.41 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.6351, allocations: 308.5 kB / 0.742 GB, free: 5.105 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.6356, allocations: 163.8 kB / 0.7422 GB, free: 4.945 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.639, allocations: 2.728 MB / 0.7448 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.6393, allocations: 55.48 kB / 0.7449 GB, free: 2.051 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.6393, allocations: 28 kB / 0.7449 GB, free: 2.023 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.6395, allocations: 124.8 kB / 0.745 GB, free: 1.895 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.6395, allocations: 23.7 kB / 0.7451 GB, free: 1.871 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.6397, allocations: 58.48 kB / 0.7451 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6397, allocations: 4 kB / 0.7451 GB, free: 1.809 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6397, allocations: 4 kB / 0.7451 GB, free: 1.805 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6397, allocations: 0 / 0.7451 GB, free: 1.805 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.6402, allocations: 422.1 kB / 0.7455 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6402, allocations: 0 / 0.7455 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.6409, allocations: 131.9 kB / 0.7457 GB, free: 1.227 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.642, allocations: 309.4 kB / 0.7459 GB, free: 0.9219 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.6421, allocations: 23.97 kB / 0.746 GB, free: 0.8984 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4909/1.133, allocations: 2.712 MB / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.133, allocations: 0.9375 kB / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/1.135, allocations: 1.105 MB / 0.7497 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/1.135, allocations: 107.1 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/1.135, allocations: 20.23 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/1.135, allocations: 11.2 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/1.135, allocations: 42.92 kB / 0.7499 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/1.135, allocations: 20.94 kB / 0.7499 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 1.905e-05/1.135, allocations: 82.31 kB / 0.75 GB, free: 134 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 0 / 0.75 GB, free: 134 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004386/1.136, allocations: 117 kB / 0.7501 GB, free: 134 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/1.136, allocations: 120 kB / 0.7502 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001464/1.137, allocations: 0.827 MB / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.137, allocations: 0 / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/1.138, allocations: 0.5146 MB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/1.139, allocations: 9.094 kB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/1.142, allocations: 3.111 MB / 0.7546 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/1.142, allocations: 0.8168 MB / 0.7554 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002899/1.142, allocations: 143 kB / 0.7555 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/1.142, allocations: 27.11 kB / 0.7555 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of SimCode: time 5.01e-07/1.142, allocations: 4 kB / 0.7555 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.006979/1.149, allocations: 4.8 MB / 0.7602 GB, free: 129.9 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches