Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 106.4 kB / 17.74 MB, free: 5.352 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.0014/0.0014, allocations: 183.1 kB / 18.68 MB, free: 4.426 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8861/0.8861, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.34 kB / 0.5717 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 80.69 MB / 0.6505 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002296/0.1358, allocations: 1.234 MB / 0.6517 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001858/0.1361, allocations: 43.88 kB / 0.6517 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1361, allocations: 0 / 0.6517 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.1362, allocations: 3.984 kB / 0.6517 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.1363, allocations: 11.94 kB / 0.6517 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.1364, allocations: 27.94 kB / 0.6517 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1367, allocations: 227.7 kB / 0.652 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1367, allocations: 0 / 0.652 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.1368, allocations: 83.88 kB / 0.652 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.137, allocations: 71.88 kB / 0.6521 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.137, allocations: 12 kB / 0.6521 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.1371, allocations: 12 kB / 0.6521 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.1372, allocations: 66.2 kB / 0.6522 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.1373, allocations: 75.67 kB / 0.6523 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1374, allocations: 115.5 kB / 0.6524 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1374, allocations: 0 / 0.6524 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1374, allocations: 7.938 kB / 0.6524 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1374, allocations: 0 / 0.6524 GB, free: 11.13 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009476/0.1384, allocations: 0.5344 MB / 0.6529 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1384, allocations: 11.89 kB / 0.6529 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.1385, allocations: 16.84 kB / 0.6529 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1387, allocations: 192.3 kB / 0.6531 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1387, allocations: 20.36 kB / 0.6531 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1388, allocations: 36.25 kB / 0.6532 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.1391, allocations: 186.1 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1391, allocations: 192 / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1391, allocations: 11.94 kB / 0.6534 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1392, allocations: 4 kB / 0.6534 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1393, allocations: 103.9 kB / 0.6535 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1397, allocations: 313.4 kB / 0.6538 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.1402, allocations: 266.4 kB / 0.654 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1404, allocations: 117.5 kB / 0.6541 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1404, allocations: 8 kB / 0.6541 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1405, allocations: 38.55 kB / 0.6542 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.1405, allocations: 0 / 0.6542 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001668/0.1421, allocations: 0.6294 MB / 0.6548 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1422, allocations: 55.41 kB / 0.6548 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.1423, allocations: 101.8 kB / 0.6549 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1423, allocations: 41.64 kB / 0.655 GB, free: 8.258 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.1423, allocations: 84.8 kB / 0.6551 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.1424, allocations: 138.8 kB / 0.6552 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.1425, allocations: 82.12 kB / 0.6553 GB, free: 7.949 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1427, allocations: 330.8 kB / 0.6556 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1429, allocations: 128.8 kB / 0.6557 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1431, allocations: 209.7 kB / 0.6559 GB, free: 7.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.1436, allocations: 373.4 kB / 0.6563 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1436, allocations: 4 kB / 0.6563 GB, free: 6.848 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009797/0.1446, allocations: 0.5176 MB / 0.6568 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1446, allocations: 8 kB / 0.6568 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1446, allocations: 0 / 0.6568 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/0.1453, allocations: 152.7 kB / 0.6569 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1456, allocations: 87.84 kB / 0.657 GB, free: 6.074 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.148, allocations: 2.152 MB / 0.6591 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1482, allocations: 35.72 kB / 0.6591 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1482, allocations: 16 kB / 0.6592 GB, free: 3.73 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.1484, allocations: 142.6 kB / 0.6593 GB, free: 3.582 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1484, allocations: 19.95 kB / 0.6593 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.1485, allocations: 33.22 kB / 0.6593 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1485, allocations: 4.172 kB / 0.6593 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1485, allocations: 0 / 0.6593 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.1485, allocations: 92.98 kB / 0.6594 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1486, allocations: 15.98 kB / 0.6595 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1487, allocations: 4 kB / 0.6595 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.1488, allocations: 27.95 kB / 0.6595 GB, free: 3.363 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001343/0.1501, allocations: 0.6378 MB / 0.6601 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007333/0.1509, allocations: 0.6573 MB / 0.6607 GB, free: 2.039 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002009/0.1511, allocations: 140.8 kB / 0.6609 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.1511, allocations: 83.28 kB / 0.661 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of Backend: time 4.398e-06/0.1511, allocations: 0 / 0.661 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.1522, allocations: 496.9 kB / 0.6614 GB, free: 1.316 MB / 0.4983 GB Notification: Performance of SimCode: time 0.001893/0.1541, allocations: 1.922 MB / 0.6633 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of Templates: time 0.006325/0.1605, allocations: 3.293 MB / 0.6665 GB, free: 12.09 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches