Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.3 MB / 235.5 MB, free: 2.891 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.0007978/0.0007978, allocations: 91.78 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7993/0.7993, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.258e-05, allocations: 4 kB / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4708, allocations: 82.83 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.6007, allocations: 125.3 MB / 0.7389 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001219/0.6008, allocations: 47.92 kB / 0.739 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.003299/0.6041, allocations: 1.265 MB / 0.7402 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6041, allocations: 0 / 0.7402 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.6042, allocations: 0 / 0.7402 GB, free: 10.63 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003517/0.6045, allocations: 366.5 kB / 0.7406 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6046, allocations: 12.02 kB / 0.7406 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.6046, allocations: 15.8 kB / 0.7406 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.6048, allocations: 183 kB / 0.7408 GB, free: 9.984 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.6048, allocations: 11.94 kB / 0.7408 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.6048, allocations: 8 kB / 0.7408 GB, free: 9.965 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.605, allocations: 85.64 kB / 0.7409 GB, free: 9.875 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.605, allocations: 3.906 kB / 0.7409 GB, free: 9.871 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.605, allocations: 4 kB / 0.7409 GB, free: 9.867 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.605, allocations: 3.953 kB / 0.7409 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.6051, allocations: 47.86 kB / 0.7409 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.6053, allocations: 205.6 kB / 0.7411 GB, free: 9.566 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.6057, allocations: 134.5 kB / 0.7412 GB, free: 9.426 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.6058, allocations: 52.84 kB / 0.7413 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.6058, allocations: 0 / 0.7413 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.6058, allocations: 34.55 kB / 0.7413 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.6058, allocations: 0 / 0.7413 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0004172/0.6062, allocations: 178.9 kB / 0.7415 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6063, allocations: 55.41 kB / 0.7416 GB, free: 9.074 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.6063, allocations: 96.98 kB / 0.7416 GB, free: 8.973 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.6064, allocations: 25.7 kB / 0.7417 GB, free: 8.941 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.6064, allocations: 84.14 kB / 0.7418 GB, free: 8.855 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.6065, allocations: 51.28 kB / 0.7418 GB, free: 8.805 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.6065, allocations: 4 kB / 0.7418 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.6066, allocations: 322.8 kB / 0.7421 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.6066, allocations: 47.98 kB / 0.7422 GB, free: 8.43 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.6067, allocations: 90.78 kB / 0.7422 GB, free: 8.328 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.6068, allocations: 67.95 kB / 0.7423 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6068, allocations: 0 / 0.7423 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003912/0.6072, allocations: 230.1 kB / 0.7425 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6073, allocations: 4.781 kB / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6073, allocations: 4 kB / 0.7425 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.6076, allocations: 64.92 kB / 0.7426 GB, free: 7.953 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.6077, allocations: 36.11 kB / 0.7426 GB, free: 7.918 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.609, allocations: 1.468 MB / 0.7441 GB, free: 6.312 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.6091, allocations: 19.86 kB / 0.7441 GB, free: 6.293 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.6091, allocations: 4 kB / 0.7441 GB, free: 6.289 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.6091, allocations: 113 kB / 0.7442 GB, free: 6.172 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.6092, allocations: 7.906 kB / 0.7442 GB, free: 6.164 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.6092, allocations: 16.09 kB / 0.7442 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6092, allocations: 0 / 0.7442 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6092, allocations: 7.953 kB / 0.7442 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.6092, allocations: 0 / 0.7442 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.6094, allocations: 201.6 kB / 0.7444 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6094, allocations: 3.938 kB / 0.7444 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6096, allocations: 27.98 kB / 0.7445 GB, free: 5.859 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.6098, allocations: 64.73 kB / 0.7445 GB, free: 5.793 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.6098, allocations: 7.984 kB / 0.7445 GB, free: 5.785 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.611, allocations: 1.468 MB / 0.746 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.611, allocations: 3.953 kB / 0.746 GB, free: 4.176 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.6115, allocations: 270 kB / 0.7462 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.6115, allocations: 81.11 kB / 0.7463 GB, free: 3.793 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.6115, allocations: 4 kB / 0.7463 GB, free: 3.789 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.6116, allocations: 4 kB / 0.7463 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.6116, allocations: 7.984 kB / 0.7463 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.6116, allocations: 4 kB / 0.7463 GB, free: 3.773 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.6117, allocations: 87.27 kB / 0.7464 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6117, allocations: 4 kB / 0.7464 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002064/0.6119, allocations: 28 kB / 0.7464 GB, free: 3.656 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.612, allocations: 99.25 kB / 0.7465 GB, free: 3.547 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.6125, allocations: 258.4 kB / 0.7468 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6125, allocations: 3.938 kB / 0.7468 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.6128, allocations: 190.8 kB / 0.747 GB, free: 3.078 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.6129, allocations: 0.8125 kB / 0.747 GB, free: 3.078 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.6137, allocations: 0.6551 MB / 0.7476 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.614, allocations: 0.7082 MB / 0.7483 GB, free: 1.668 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.334e-05/0.614, allocations: 24.53 kB / 0.7483 GB, free: 1.645 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.6141, allocations: 11.44 kB / 0.7483 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.6141, allocations: 4 kB / 0.7483 GB, free: 1.629 MB / 0.5419 GB Notification: Performance of Templates: time 0.003068/0.6171, allocations: 1.231 MB / 0.7495 GB, free: 448 kB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches