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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 123.2 kB / 17.79 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 190.9 kB / 20.73 MB, free: 2.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.738/0.738, allocations: 120.6 MB / 424.6 MB, free: 5.66 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.83 kB / 0.5932 GB, free: 3.125 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5756, allocations: 84.64 MB / 0.6759 GB, free: 16.42 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.00205/0.5776, allocations: 1.228 MB / 0.6771 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.5778, allocations: 42.94 kB / 0.6771 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.5779, allocations: 0 / 0.6771 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.305e-05/0.5779, allocations: 7.453 kB / 0.6771 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.578, allocations: 9.25 kB / 0.6771 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.5782, allocations: 26.03 kB / 0.6771 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.5783, allocations: 102.4 kB / 0.6772 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.5784, allocations: 1.844 kB / 0.6772 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.5784, allocations: 39.58 kB / 0.6773 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.5785, allocations: 37.97 kB / 0.6773 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.5785, allocations: 4.812 kB / 0.6773 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.5785, allocations: 3.906 kB / 0.6773 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.5786, allocations: 29.53 kB / 0.6773 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.5786, allocations: 27.44 kB / 0.6774 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.5787, allocations: 54.92 kB / 0.6774 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5787, allocations: 4 kB / 0.6774 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5787, allocations: 1.188 kB / 0.6774 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.5787, allocations: 0 / 0.6774 GB, free: 15.38 MB / 0.5139 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.0005286/0.5793, allocations: 400.7 kB / 0.6778 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5793, allocations: 10.41 kB / 0.6778 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.5793, allocations: 41.42 kB / 0.6779 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.5793, allocations: 7.578 kB / 0.6779 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5795, allocations: 178.2 kB / 0.678 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.5795, allocations: 11.31 kB / 0.678 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5795, allocations: 14.42 kB / 0.6781 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5796, allocations: 87.02 kB / 0.6781 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5796, allocations: 5.688 kB / 0.6782 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5797, allocations: 11.92 kB / 0.6782 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5797, allocations: 1.781 kB / 0.6782 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.5797, allocations: 43.17 kB / 0.6782 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.5799, allocations: 205.1 kB / 0.6784 GB, free: 14.4 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.5802, allocations: 132.6 kB / 0.6785 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.5803, allocations: 44.2 kB / 0.6786 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.5803, allocations: 5.375 kB / 0.6786 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.5803, allocations: 39.94 kB / 0.6786 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.5803, allocations: 0 / 0.6786 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0006265/0.5809, allocations: 312.2 kB / 0.6789 GB, free: 14.03 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.581, allocations: 52.78 kB / 0.679 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.046e-05/0.581, allocations: 106 kB / 0.6791 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.581, allocations: 31.08 kB / 0.6791 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.581, allocations: 85.5 kB / 0.6792 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.5811, allocations: 53.03 kB / 0.6792 GB, free: 13.69 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.5811, allocations: 39.45 kB / 0.6793 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.5812, allocations: 325.5 kB / 0.6796 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.5812, allocations: 44.84 kB / 0.6796 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.5813, allocations: 93.89 kB / 0.6797 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5815, allocations: 146.2 kB / 0.6798 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5815, allocations: 1.375 kB / 0.6798 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003713/0.5819, allocations: 227.7 kB / 0.6801 GB, free: 13.03 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5819, allocations: 9.469 kB / 0.6801 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5819, allocations: 0.9375 kB / 0.6801 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.5822, allocations: 61.2 kB / 0.6801 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.5823, allocations: 34.95 kB / 0.6802 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5833, allocations: 1.584 MB / 0.6817 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.5834, allocations: 15.58 kB / 0.6817 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5834, allocations: 8.531 kB / 0.6817 GB, free: 11.43 MB / 0.5139 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 5.936e-05/0.5834, allocations: 120.2 kB / 0.6818 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.5835, allocations: 5.906 kB / 0.6819 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.5835, allocations: 20.89 kB / 0.6819 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5835, allocations: 1.844 kB / 0.6819 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5835, allocations: 0.9062 kB / 0.6819 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5835, allocations: 0.9375 kB / 0.6819 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.5836, allocations: 211.9 kB / 0.6821 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5836, allocations: 0 / 0.6821 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.5838, allocations: 22.12 kB / 0.6821 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.584, allocations: 67.25 kB / 0.6822 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.584, allocations: 7.688 kB / 0.6822 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009772/0.585, allocations: 1.581 MB / 0.6837 GB, free: 9.492 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.585, allocations: 0.9375 kB / 0.6837 GB, free: 9.492 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.5854, allocations: 260.8 kB / 0.684 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.5854, allocations: 83.05 kB / 0.684 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5854, allocations: 7.688 kB / 0.6841 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.5855, allocations: 0.9375 kB / 0.6841 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.5855, allocations: 24.44 kB / 0.6841 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5855, allocations: 2.781 kB / 0.6841 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.5855, allocations: 77.09 kB / 0.6842 GB, free: 9.129 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.5855, allocations: 4 kB / 0.6842 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002282/0.5858, allocations: 28.5 kB / 0.6842 GB, free: 9.121 MB / 0.5139 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.0005771/0.5864, allocations: 0.8045 MB / 0.685 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.5868, allocations: 252.1 kB / 0.6852 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5868, allocations: 1.281 kB / 0.6852 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.587, allocations: 190.3 kB / 0.6854 GB, free: 8.086 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.5872, allocations: 6.531 kB / 0.6854 GB, free: 8.082 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.589, allocations: 2.206 MB / 0.6876 GB, free: 6.219 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.5892, allocations: 0.7052 MB / 0.6882 GB, free: 5.508 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.5892, allocations: 24.66 kB / 0.6883 GB, free: 5.5 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.5893, allocations: 24.45 kB / 0.6883 GB, free: 5.48 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.5893, allocations: 0 / 0.6883 GB, free: 5.48 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.6203, allocations: 2.867 MB / 0.6911 GB, free: 4.086 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.49/10.11, allocations: 12.94 kB / 0.6911 GB, free: 4.074 MB / 0.5139 GB " [Timeout remaining time 290] (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 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.570203309878707]