Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111 kB / 17.75 MB, free: 5.336 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.001206/0.001206, allocations: 190.4 kB / 18.67 MB, free: 4.422 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8922/0.8922, allocations: 119.3 MB / 411.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.36 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1153, allocations: 80.7 MB / 0.6504 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002082/0.1174, allocations: 1.227 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.1176, allocations: 39.86 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1176, allocations: 4 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.683e-05/0.1177, allocations: 7.984 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.1178, allocations: 11.94 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1179, allocations: 19.95 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1183, allocations: 443.4 kB / 0.6521 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.1184, allocations: 7.984 kB / 0.6522 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1185, allocations: 147.9 kB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1188, allocations: 143.7 kB / 0.6524 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.1189, allocations: 24 kB / 0.6525 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.1189, allocations: 20 kB / 0.6525 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1191, allocations: 134 kB / 0.6526 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1192, allocations: 147.4 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1194, allocations: 223.2 kB / 0.653 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1194, allocations: 0 / 0.653 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1195, allocations: 0 / 0.653 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1195, allocations: 0 / 0.653 GB, free: 10.4 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001493/0.121, allocations: 0.7693 MB / 0.6537 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.121, allocations: 15.83 kB / 0.6537 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.1211, allocations: 24.75 kB / 0.6537 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1214, allocations: 236.1 kB / 0.654 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1214, allocations: 28.92 kB / 0.654 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.1215, allocations: 60.19 kB / 0.6541 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.122, allocations: 329.2 kB / 0.6544 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.122, allocations: 20.02 kB / 0.6544 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1221, allocations: 11.94 kB / 0.6544 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1221, allocations: 4 kB / 0.6544 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1224, allocations: 225.9 kB / 0.6546 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.123, allocations: 475.9 kB / 0.6551 GB, free: 8.086 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.1238, allocations: 493.9 kB / 0.6555 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.1241, allocations: 238.4 kB / 0.6558 GB, free: 7.355 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1241, allocations: 8.5 kB / 0.6558 GB, free: 7.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1242, allocations: 43.11 kB / 0.6558 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=60): time 3.135e-06/0.1242, allocations: 0 / 0.6558 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=60): time 0.003738/0.1279, allocations: 1.252 MB / 0.657 GB, free: 6.016 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1279, allocations: 55.97 kB / 0.6571 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.128, allocations: 113.8 kB / 0.6572 GB, free: 5.824 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.1281, allocations: 41.7 kB / 0.6572 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1281, allocations: 93.44 kB / 0.6573 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1283, allocations: 244.4 kB / 0.6576 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1285, allocations: 150.7 kB / 0.6577 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1286, allocations: 342.8 kB / 0.658 GB, free: 4.941 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.129, allocations: 257.8 kB / 0.6583 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1294, allocations: 428.3 kB / 0.6587 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.1303, allocations: 0.7152 MB / 0.6594 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1304, allocations: 0 / 0.6594 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001893/0.1323, allocations: 1.018 MB / 0.6604 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1323, allocations: 8 kB / 0.6604 GB, free: 2.395 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1323, allocations: 4.188 kB / 0.6604 GB, free: 2.391 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.1336, allocations: 299.2 kB / 0.6607 GB, free: 2.098 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.134, allocations: 163.8 kB / 0.6608 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.1383, allocations: 3.11 MB / 0.6639 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1386, allocations: 63.36 kB / 0.6639 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.1386, allocations: 32 kB / 0.664 GB, free: 14.6 MB / 0.5139 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 () * Number of clocked 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.1388, allocations: 178.4 kB / 0.6641 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.1389, allocations: 23.72 kB / 0.6642 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.139, allocations: 69.88 kB / 0.6642 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1391, allocations: 3.984 kB / 0.6642 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1391, allocations: 0 / 0.6642 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.1391, allocations: 100.8 kB / 0.6643 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.1392, allocations: 35.91 kB / 0.6644 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1394, allocations: 4 kB / 0.6644 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1395, allocations: 52.47 kB / 0.6644 GB, free: 14.11 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002928/0.1424, allocations: 1.158 MB / 0.6655 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001473/0.1439, allocations: 1.137 MB / 0.6667 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003744/0.1443, allocations: 284.2 kB / 0.6669 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.1444, allocations: 83.22 kB / 0.667 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of Backend: time 9.82e-07/0.1444, allocations: 0 / 0.667 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.1463, allocations: 0.8074 MB / 0.6678 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of SimCode: time 0.003678/0.15, allocations: 3.269 MB / 0.671 GB, free: 7.293 MB / 0.5139 GB Notification: Performance of Templates: time 0.8361/0.9861, allocations: 6.314 MB / 0.6772 GB, free: 1.016 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches