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.0008443/0.0008444, 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.152/1.152, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0008326/0.0008326, allocations: 100.2 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8047/0.8047, allocations: 120.4 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.367e-06, allocations: 0 / 0.5288 GB, free: 1.301 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4785, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.6073, allocations: 124.6 MB / 0.7314 GB, free: 296 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001194/0.6074, allocations: 59.89 kB / 0.7314 GB, free: 240 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.00326/0.6107, allocations: 1.251 MB / 0.7326 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6107, allocations: 0 / 0.7326 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6107, allocations: 0 / 0.7326 GB, free: 14.98 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.0003629/0.6111, allocations: 370.5 kB / 0.733 GB, free: 14.57 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.6111, allocations: 8.031 kB / 0.733 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.6112, allocations: 15.8 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.6114, allocations: 179 kB / 0.7332 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.6114, allocations: 0 / 0.7332 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.6114, allocations: 15.98 kB / 0.7332 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.649e-05/0.6115, allocations: 31.98 kB / 0.7332 GB, free: 14.29 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.6116, allocations: 77.64 kB / 0.7333 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6116, allocations: 7.906 kB / 0.7333 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.6117, allocations: 7.953 kB / 0.7333 GB, free: 14.19 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6117, allocations: 3.938 kB / 0.7333 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.6119, allocations: 186.1 kB / 0.7335 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.6122, allocations: 126.5 kB / 0.7336 GB, free: 13.83 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.6123, allocations: 44.84 kB / 0.7337 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.6123, allocations: 4 kB / 0.7337 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.6123, allocations: 38.56 kB / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.6123, allocations: 0 / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0003702/0.6127, allocations: 163 kB / 0.7339 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.6127, allocations: 59.33 kB / 0.7339 GB, free: 13.49 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.6128, allocations: 89 kB / 0.734 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.6128, allocations: 25.7 kB / 0.734 GB, free: 13.37 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.6128, allocations: 92.14 kB / 0.7341 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.6129, allocations: 43.3 kB / 0.7341 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.6129, allocations: 0 / 0.7341 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.613, allocations: 322.8 kB / 0.7345 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.6131, allocations: 43.98 kB / 0.7345 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.6132, allocations: 80.27 kB / 0.7346 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.6133, allocations: 67.94 kB / 0.7346 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6133, allocations: 0 / 0.7346 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003684/0.6136, allocations: 210.2 kB / 0.7348 GB, free: 12.49 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.6137, allocations: 7.938 kB / 0.7348 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6137, allocations: 8.062 kB / 0.7349 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.6139, allocations: 60.8 kB / 0.7349 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.6141, allocations: 31.92 kB / 0.7349 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.6151, allocations: 1.412 MB / 0.7363 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.6152, allocations: 11.84 kB / 0.7363 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.6152, allocations: 16.06 kB / 0.7363 GB, free: 10.82 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.591e-05/0.6153, allocations: 104.9 kB / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.6153, allocations: 7.906 kB / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.6154, allocations: 12.73 kB / 0.7365 GB, free: 10.69 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6154, allocations: 4 kB / 0.7365 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6154, allocations: 0 / 0.7365 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6154, allocations: 7.922 kB / 0.7365 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6155, allocations: 190.1 kB / 0.7367 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.6155, allocations: 0 / 0.7367 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.6157, allocations: 27.98 kB / 0.7367 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.6159, allocations: 56.8 kB / 0.7367 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.616, allocations: 4 kB / 0.7367 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.617, allocations: 1.401 MB / 0.7381 GB, free: 8.848 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.617, allocations: 3.938 kB / 0.7381 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.6174, allocations: 246.1 kB / 0.7384 GB, free: 8.582 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.6174, allocations: 92.94 kB / 0.7384 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6175, allocations: 0 / 0.7384 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.6175, allocations: 4 kB / 0.7384 GB, free: 8.469 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.6175, allocations: 19.88 kB / 0.7385 GB, free: 8.449 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.6176, allocations: 4 kB / 0.7385 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.6176, allocations: 83.27 kB / 0.7385 GB, free: 8.363 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6176, allocations: 0 / 0.7385 GB, free: 8.363 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002152/0.6178, allocations: 24 kB / 0.7386 GB, free: 8.34 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 9.472e-05/0.6179, allocations: 95.25 kB / 0.7387 GB, free: 8.238 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.6183, allocations: 245.7 kB / 0.7389 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6183, allocations: 0 / 0.7389 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.6186, allocations: 177.7 kB / 0.7391 GB, free: 7.805 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.6187, allocations: 6.625 kB / 0.7391 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.6194, allocations: 0.6342 MB / 0.7397 GB, free: 7.141 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.6196, allocations: 0.7157 MB / 0.7404 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.6197, allocations: 28.53 kB / 0.7404 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.6197, allocations: 11.44 kB / 0.7404 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.6197, allocations: 0 / 0.7404 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of Templates: time 0.002748/0.6225, allocations: 1.188 MB / 0.7416 GB, free: 5.211 MB / 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