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.001482/0.001482, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001534/0.001534, allocations: 193.4 kB / 18 MB, free: 5.074 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9683/0.9683, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 66.09 kB / 0.5704 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.136, 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.00226/0.1383, allocations: 1.192 MB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001853/0.1385, allocations: 47.81 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.1385, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.166e-05/0.1386, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.1387, allocations: 3.938 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.1388, allocations: 19.95 kB / 0.6504 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.139, allocations: 71.88 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.139, allocations: 0 / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.1391, allocations: 31.97 kB / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.1391, allocations: 27.91 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1392, allocations: 0 / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1392, allocations: 4 kB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.1392, allocations: 19.97 kB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1393, allocations: 19.92 kB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8e-05/0.1394, allocations: 32.12 kB / 0.6506 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1394, allocations: 0 / 0.6506 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1394, allocations: 0 / 0.6506 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1394, allocations: 0 / 0.6506 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.0005474/0.1399, allocations: 375.4 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.14, allocations: 12.03 kB / 0.651 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.14, allocations: 42.73 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1401, allocations: 12.88 kB / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1402, allocations: 176.2 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1403, allocations: 12.36 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1403, allocations: 12.38 kB / 0.6513 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1404, allocations: 66.22 kB / 0.6513 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1405, allocations: 7.938 kB / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1405, allocations: 3.938 kB / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1405, allocations: 0 / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.1406, allocations: 27.97 kB / 0.6514 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1408, allocations: 185.6 kB / 0.6515 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1409, allocations: 74.48 kB / 0.6516 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.141, allocations: 36.84 kB / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.141, allocations: 0 / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.141, allocations: 34.56 kB / 0.6517 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.141, allocations: 0 / 0.6517 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002908/0.1413, allocations: 113.8 kB / 0.6518 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1414, allocations: 55.34 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.1415, allocations: 101.8 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1415, allocations: 29.7 kB / 0.652 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.1416, allocations: 84.14 kB / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.1416, allocations: 43.64 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.1417, allocations: 33.7 kB / 0.6521 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1418, allocations: 318.8 kB / 0.6524 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.1419, allocations: 35.97 kB / 0.6525 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.142, allocations: 79.36 kB / 0.6525 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1422, allocations: 120.2 kB / 0.6526 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1422, allocations: 0 / 0.6526 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000226/0.1424, allocations: 149.8 kB / 0.6528 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1424, allocations: 8.125 kB / 0.6528 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1425, allocations: 0 / 0.6528 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1425, allocations: 4 kB / 0.6528 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1426, allocations: 31.98 kB / 0.6528 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1427, allocations: 3.938 kB / 0.6528 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.1427, allocations: 15.89 kB / 0.6529 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1427, allocations: 4 kB / 0.6529 GB, free: 9.57 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 9.537e-05/0.1428, allocations: 118.7 kB / 0.653 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.1429, allocations: 11.89 kB / 0.653 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1429, allocations: 15.97 kB / 0.653 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1429, allocations: 0 / 0.653 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1429, allocations: 4 kB / 0.653 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1429, allocations: 0 / 0.653 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1431, allocations: 185.6 kB / 0.6532 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1431, allocations: 0 / 0.6532 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1433, allocations: 31.92 kB / 0.6532 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1433, allocations: 3.938 kB / 0.6532 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1433, allocations: 0 / 0.6532 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1433, allocations: 8 kB / 0.6532 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1433, allocations: 0 / 0.6532 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1436, allocations: 157.1 kB / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1436, allocations: 81.06 kB / 0.6534 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1436, allocations: 7.984 kB / 0.6535 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.1437, allocations: 0 / 0.6535 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1437, allocations: 11.98 kB / 0.6535 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1437, allocations: 4 kB / 0.6535 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.1438, allocations: 75.28 kB / 0.6535 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1438, allocations: 4 kB / 0.6535 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002024/0.144, allocations: 20 kB / 0.6536 GB, free: 8.746 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.0005257/0.1445, allocations: 0.6932 MB / 0.6542 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1447, allocations: 83.89 kB / 0.6543 GB, free: 7.945 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1447, allocations: 4.25 kB / 0.6543 GB, free: 7.941 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.1448, allocations: 35.92 kB / 0.6544 GB, free: 7.906 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.145, allocations: 11.98 kB / 0.6544 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.147, allocations: 1.95 MB / 0.6563 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1474, allocations: 0.6961 MB / 0.657 GB, free: 5.117 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.265e-05/0.1475, allocations: 32.62 kB / 0.657 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1475, allocations: 19.44 kB / 0.657 GB, free: 5.062 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.1475, allocations: 0 / 0.657 GB, free: 5.062 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1738, allocations: 2.005 MB / 0.659 GB, free: 3.234 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.155, allocations: 3.938 kB / 0.659 GB, free: 3.234 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