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.001366/0.001366, allocations: 116.1 kB / 17.75 MB, free: 5.223 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.001401/0.001401, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8562/0.8562, allocations: 119.3 MB / 411.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.5 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 80.69 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001973/0.117, allocations: 1.223 MB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.1172, allocations: 39.94 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1172, allocations: 3.938 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.181e-05/0.1173, allocations: 3.984 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.1173, allocations: 19.86 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1175, allocations: 19.95 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1177, allocations: 231.7 kB / 0.6519 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.1178, allocations: 4 kB / 0.6519 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.1178, allocations: 75.94 kB / 0.652 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.118, allocations: 83.81 kB / 0.6521 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.118, allocations: 8 kB / 0.6521 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.1181, allocations: 12 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.1181, allocations: 70.19 kB / 0.6522 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.1182, allocations: 71.69 kB / 0.6523 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1184, allocations: 111.7 kB / 0.6524 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1184, allocations: 0 / 0.6524 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1184, allocations: 3.938 kB / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.1184, allocations: 0 / 0.6524 GB, free: 11.02 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.0008826/0.1193, allocations: 0.5345 MB / 0.6529 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1193, allocations: 11.89 kB / 0.6529 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1194, allocations: 20.73 kB / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1196, allocations: 196.3 kB / 0.6531 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1196, allocations: 12.38 kB / 0.6531 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.1197, allocations: 32.27 kB / 0.6531 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1199, allocations: 186 kB / 0.6533 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.12, allocations: 8.188 kB / 0.6533 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.12, allocations: 3.938 kB / 0.6533 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.12, allocations: 8 kB / 0.6533 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1202, allocations: 107.9 kB / 0.6534 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.1205, allocations: 309.4 kB / 0.6537 GB, free: 9.469 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.121, allocations: 266.4 kB / 0.654 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1212, allocations: 125.5 kB / 0.6541 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1212, allocations: 4 kB / 0.6541 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1213, allocations: 34.56 kB / 0.6542 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.1213, allocations: 0 / 0.6542 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001627/0.1229, allocations: 0.6371 MB / 0.6548 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1229, allocations: 51.41 kB / 0.6548 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.123, allocations: 109.8 kB / 0.6549 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.123, allocations: 29.7 kB / 0.655 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.1231, allocations: 88.8 kB / 0.655 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.1232, allocations: 122.2 kB / 0.6552 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.1233, allocations: 78.12 kB / 0.6552 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1234, allocations: 334.8 kB / 0.6556 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1236, allocations: 128.7 kB / 0.6557 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.1238, allocations: 213.7 kB / 0.6559 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1243, allocations: 381.3 kB / 0.6562 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1243, allocations: 0 / 0.6562 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009937/0.1253, allocations: 0.5214 MB / 0.6568 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1253, allocations: 4 kB / 0.6568 GB, free: 6.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1253, allocations: 4 kB / 0.6568 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.126, allocations: 152.7 kB / 0.6569 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1263, allocations: 83.84 kB / 0.657 GB, free: 5.969 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.1287, allocations: 2.152 MB / 0.6591 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1289, allocations: 31.69 kB / 0.6591 GB, free: 3.645 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1289, allocations: 12.19 kB / 0.6591 GB, free: 3.633 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.129, allocations: 138.6 kB / 0.6593 GB, free: 3.488 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1291, allocations: 15.83 kB / 0.6593 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.1291, allocations: 33.5 kB / 0.6593 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1292, allocations: 7.984 kB / 0.6593 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1292, allocations: 4.062 kB / 0.6593 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1292, allocations: 96.83 kB / 0.6594 GB, free: 3.309 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1292, allocations: 11.98 kB / 0.6594 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1294, allocations: 8 kB / 0.6594 GB, free: 3.289 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1294, allocations: 23.95 kB / 0.6595 GB, free: 3.266 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/0.1308, allocations: 0.6338 MB / 0.6601 GB, free: 2.621 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007145/0.1315, allocations: 0.661 MB / 0.6607 GB, free: 1.941 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000218/0.1317, allocations: 140.8 kB / 0.6609 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.1318, allocations: 75.28 kB / 0.6609 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of Backend: time 7.81e-07/0.1318, allocations: 4 kB / 0.6609 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.1329, allocations: 0.4888 MB / 0.6614 GB, free: 1.223 MB / 0.4983 GB Notification: Performance of SimCode: time 0.002122/0.135, allocations: 1.916 MB / 0.6633 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of Templates: time 0.8417/0.9767, allocations: 3.296 MB / 0.6665 GB, free: 12 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