Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 110.3 kB / 17.74 MB, free: 5.355 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.001447/0.001447, allocations: 185.4 kB / 18.67 MB, free: 4.434 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.293/1.293, 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.8837/0.8837, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.94 kB / 0.5716 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1342, allocations: 80.7 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002369/0.1366, allocations: 1.199 MB / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.1368, allocations: 43.81 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.1369, allocations: 0 / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.092e-05/0.137, allocations: 3.938 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.1371, allocations: 7.984 kB / 0.6516 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1373, allocations: 19.97 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1375, allocations: 75.86 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.1375, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1376, allocations: 19.98 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.1377, allocations: 35.83 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1377, allocations: 4 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.1377, allocations: 4 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.1378, allocations: 11.98 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.1378, allocations: 19.92 kB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.1379, allocations: 39.83 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.138, allocations: 0 / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.863e-06/0.138, allocations: 0 / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.138, allocations: 4 kB / 0.6518 GB, free: 11.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006085/0.1386, allocations: 371.5 kB / 0.6522 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1386, allocations: 11.89 kB / 0.6522 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1387, allocations: 8.844 kB / 0.6522 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1389, allocations: 172.3 kB / 0.6523 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1389, allocations: 8.312 kB / 0.6524 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1389, allocations: 16.38 kB / 0.6524 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1391, allocations: 66.22 kB / 0.6524 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1391, allocations: 4.188 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1392, allocations: 3.938 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1392, allocations: 3.938 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.1393, allocations: 27.97 kB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.1395, allocations: 189.5 kB / 0.6527 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1396, allocations: 70.55 kB / 0.6527 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.1397, allocations: 36.84 kB / 0.6528 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1397, allocations: 0 / 0.6528 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1397, allocations: 34.56 kB / 0.6528 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1397, allocations: 0 / 0.6528 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002429/0.14, allocations: 117.5 kB / 0.6529 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.14, allocations: 51.41 kB / 0.6529 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.1401, allocations: 97.86 kB / 0.653 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1401, allocations: 33.7 kB / 0.6531 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.1402, allocations: 84.12 kB / 0.6532 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1402, allocations: 35.47 kB / 0.6532 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1403, allocations: 37.64 kB / 0.6532 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.1404, allocations: 322.8 kB / 0.6535 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.1404, allocations: 35.97 kB / 0.6536 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.1405, allocations: 75.78 kB / 0.6536 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1407, allocations: 112.5 kB / 0.6537 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1407, allocations: 3.938 kB / 0.6537 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002038/0.1409, allocations: 149.8 kB / 0.6539 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1409, allocations: 11.97 kB / 0.6539 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.141, allocations: 400 / 0.6539 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.141, allocations: 4 kB / 0.6539 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1412, allocations: 35.92 kB / 0.6539 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1412, allocations: 3.984 kB / 0.6539 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.1412, allocations: 11.94 kB / 0.654 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1412, allocations: 4 kB / 0.654 GB, free: 9.145 MB / 0.4983 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.1413, allocations: 122.6 kB / 0.6541 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1414, allocations: 12.03 kB / 0.6541 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.1414, allocations: 23.94 kB / 0.6541 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1414, allocations: 0 / 0.6541 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1414, allocations: 0 / 0.6541 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.1415, allocations: 81.11 kB / 0.6542 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1415, allocations: 8 kB / 0.6542 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.505e-05/0.1415, allocations: 3.984 kB / 0.6542 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1416, allocations: 4 kB / 0.6542 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005108/0.1421, allocations: 252.7 kB / 0.6544 GB, free: 8.609 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002997/0.1424, allocations: 334.5 kB / 0.6548 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.837e-05/0.1425, allocations: 39.95 kB / 0.6548 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.1425, allocations: 75.28 kB / 0.6549 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of Backend: time 1.553e-06/0.1425, allocations: 4 kB / 0.6549 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.1429, allocations: 152.5 kB / 0.655 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0009889/0.1439, allocations: 1.049 MB / 0.656 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of Templates: time 0.003063/0.147, allocations: 0.9827 MB / 0.657 GB, free: 5.949 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches