Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001617, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.00155/0.00155, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.021/1.021, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 58.58 kB / 0.5704 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1432, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002486/0.1457, allocations: 1.196 MB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.1459, allocations: 47.86 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.146, allocations: 4 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.209e-05/0.1461, allocations: 11.92 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.1462, allocations: 0 / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1463, allocations: 23.94 kB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1465, allocations: 107.8 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1466, allocations: 4 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.1466, allocations: 35.97 kB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.1467, allocations: 35.89 kB / 0.6506 GB, free: 12.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1467, allocations: 4 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.1468, allocations: 4 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1468, allocations: 31.95 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.1469, allocations: 27.86 kB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.147, allocations: 52.08 kB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.147, allocations: 0 / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.363e-06/0.147, allocations: 0 / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.147, allocations: 0 / 0.6508 GB, free: 11.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006541/0.1477, allocations: 411.2 kB / 0.6512 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1477, allocations: 8.031 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.1478, allocations: 42.72 kB / 0.6512 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1478, allocations: 8.891 kB / 0.6512 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.148, allocations: 180.3 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.148, allocations: 8.312 kB / 0.6514 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1481, allocations: 12.33 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1482, allocations: 90.19 kB / 0.6515 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1483, allocations: 7.938 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1483, allocations: 4 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1483, allocations: 0 / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.1484, allocations: 39.97 kB / 0.6515 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.1488, allocations: 209.6 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1493, allocations: 142.5 kB / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.1494, allocations: 48.78 kB / 0.6519 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1494, allocations: 8 kB / 0.6519 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1494, allocations: 30.56 kB / 0.652 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1494, allocations: 0 / 0.652 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007578/0.1502, allocations: 307.3 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1502, allocations: 59.62 kB / 0.6523 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.1503, allocations: 102.2 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1503, allocations: 29.64 kB / 0.6524 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1504, allocations: 86.48 kB / 0.6525 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1505, allocations: 55.58 kB / 0.6526 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.1506, allocations: 33.7 kB / 0.6526 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1507, allocations: 326.8 kB / 0.6529 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.1508, allocations: 51.97 kB / 0.653 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1509, allocations: 92.25 kB / 0.6531 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.1511, allocations: 152.1 kB / 0.6532 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1511, allocations: 4 kB / 0.6532 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004405/0.1516, allocations: 222.3 kB / 0.6534 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1516, allocations: 14.69 kB / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1516, allocations: 0 / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.1519, allocations: 68.91 kB / 0.6535 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1521, allocations: 24 kB / 0.6535 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.1539, allocations: 1.594 MB / 0.6551 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.1539, allocations: 7.891 kB / 0.6551 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.154, allocations: 19.88 kB / 0.6551 GB, free: 7.105 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 (17): * 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: 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1541, allocations: 122.8 kB / 0.6552 GB, free: 6.977 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1541, allocations: 4 kB / 0.6552 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.1541, allocations: 15.97 kB / 0.6552 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1541, allocations: 0 / 0.6552 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1541, allocations: 4 kB / 0.6552 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1542, allocations: 0 / 0.6552 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1544, allocations: 213.4 kB / 0.6554 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1544, allocations: 0 / 0.6554 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.1545, allocations: 27.98 kB / 0.6555 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/0.1548, allocations: 68.67 kB / 0.6555 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1548, allocations: 8 kB / 0.6555 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.1565, allocations: 1.582 MB / 0.6571 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1565, allocations: 4.031 kB / 0.6571 GB, free: 4.871 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.157, allocations: 268.2 kB / 0.6573 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.157, allocations: 81.05 kB / 0.6574 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1571, allocations: 4 kB / 0.6574 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.1571, allocations: 0 / 0.6574 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1572, allocations: 15.92 kB / 0.6574 GB, free: 4.473 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1572, allocations: 8 kB / 0.6574 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.1572, allocations: 83.27 kB / 0.6575 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1572, allocations: 0 / 0.6575 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002363/0.1575, allocations: 28 kB / 0.6576 GB, free: 4.355 MB / 0.4983 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 () * Number of clocked 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008027/0.1583, allocations: 0.7976 MB / 0.6583 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.1588, allocations: 262.6 kB / 0.6586 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1588, allocations: 0 / 0.6586 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1591, allocations: 190.5 kB / 0.6588 GB, free: 3.055 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.1593, allocations: 18.48 kB / 0.6588 GB, free: 3.039 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.1622, allocations: 2.188 MB / 0.6609 GB, free: 0.7344 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1625, allocations: 0.7158 MB / 0.6616 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.296e-05/0.1626, allocations: 24.53 kB / 0.6616 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.1627, allocations: 23.42 kB / 0.6617 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of SimCode: time 3.91e-07/0.1627, allocations: 0 / 0.6617 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.1956, allocations: 2.854 MB / 0.6645 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.862/10.06, allocations: 448 / 0.6645 GB, free: 13.31 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches