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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",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.001099/0.001099, allocations: 101.6 kB / 17.05 MB, free: 6.129 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.001127/0.001128, allocations: 195 kB / 18 MB, free: 5.203 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.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8454/0.8454, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 66.16 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001966/0.1265, allocations: 1.199 MB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000174/0.1267, allocations: 31.89 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.1267, allocations: 7.938 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.592e-05/0.1268, allocations: 0 / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.1269, allocations: 15.91 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.127, allocations: 19.97 kB / 0.6505 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1271, allocations: 67.88 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1272, allocations: 3.984 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.1272, allocations: 16 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.1273, allocations: 31.89 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1273, allocations: 4 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.1273, allocations: 7.938 kB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.1274, allocations: 19.97 kB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1274, allocations: 19.94 kB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.732e-05/0.1275, allocations: 35.88 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1275, allocations: 0 / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1275, allocations: 0 / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1275, allocations: 4 kB / 0.6507 GB, free: 12.09 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.0004628/0.128, allocations: 370.9 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.128, allocations: 8.031 kB / 0.651 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.1281, allocations: 34.75 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.1281, allocations: 8.844 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1283, allocations: 180.5 kB / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1283, allocations: 8.312 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1283, allocations: 8.375 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1285, allocations: 70.2 kB / 0.6513 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1285, allocations: 7.844 kB / 0.6513 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1285, allocations: 4 kB / 0.6513 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1285, allocations: 8 kB / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.1286, allocations: 27.97 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.1288, allocations: 181.6 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1289, allocations: 70.48 kB / 0.6516 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1289, allocations: 32.84 kB / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.129, allocations: 0 / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.129, allocations: 38.56 kB / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.129, allocations: 0 / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002354/0.1292, allocations: 117.8 kB / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1293, allocations: 55.34 kB / 0.6518 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.1293, allocations: 97.86 kB / 0.6519 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1294, allocations: 29.7 kB / 0.652 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.1294, allocations: 84.14 kB / 0.652 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.1294, allocations: 35.45 kB / 0.6521 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1295, allocations: 37.7 kB / 0.6521 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.1296, allocations: 318.8 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1297, allocations: 39.98 kB / 0.6524 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.1297, allocations: 76.11 kB / 0.6525 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1299, allocations: 112.2 kB / 0.6526 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1299, allocations: 0 / 0.6526 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002057/0.1301, allocations: 161.6 kB / 0.6528 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1301, allocations: 8 kB / 0.6528 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1301, allocations: 0 / 0.6528 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1302, allocations: 4 kB / 0.6528 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1303, allocations: 27.98 kB / 0.6528 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1303, allocations: 16 kB / 0.6528 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1304, allocations: 19.83 kB / 0.6529 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1304, allocations: 4 kB / 0.6529 GB, free: 9.574 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.425e-05/0.1305, allocations: 118.7 kB / 0.653 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1305, allocations: 7.938 kB / 0.653 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.1305, allocations: 7.969 kB / 0.653 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1305, allocations: 3.984 kB / 0.653 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1305, allocations: 0 / 0.653 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1305, allocations: 0 / 0.653 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1307, allocations: 177.7 kB / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1307, allocations: 4 kB / 0.6532 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1309, allocations: 35.86 kB / 0.6532 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1309, allocations: 4 kB / 0.6532 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1309, allocations: 7.984 kB / 0.6532 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1309, allocations: 0 / 0.6532 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1309, allocations: 0 / 0.6532 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1311, allocations: 148.9 kB / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.1312, allocations: 89.02 kB / 0.6534 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1312, allocations: 4 kB / 0.6534 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.1312, allocations: 3.984 kB / 0.6534 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.1313, allocations: 4 kB / 0.6534 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1313, allocations: 0 / 0.6534 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.1313, allocations: 91.44 kB / 0.6535 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1313, allocations: 0 / 0.6535 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001936/0.1315, allocations: 12 kB / 0.6535 GB, free: 8.77 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/0.132, allocations: 0.697 MB / 0.6542 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1321, allocations: 96.02 kB / 0.6543 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1321, allocations: 0 / 0.6543 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.1322, allocations: 35.92 kB / 0.6544 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1324, allocations: 4 kB / 0.6544 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1341, allocations: 1.951 MB / 0.6563 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1343, allocations: 0.7 MB / 0.6569 GB, free: 5.133 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1344, allocations: 24.64 kB / 0.657 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1345, allocations: 27.42 kB / 0.657 GB, free: 5.078 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.1345, allocations: 0 / 0.657 GB, free: 5.078 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.1659, allocations: 2.011 MB / 0.659 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.421, allocations: 8.484 kB / 0.659 GB, free: 3.238 MB / 0.4983 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > 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