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.001248/0.001248, allocations: 105 kB / 17.06 MB, free: 6.027 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.001262/0.001262, allocations: 196 kB / 18 MB, free: 5.105 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.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.7913/0.7913, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 58.16 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 80.7 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002117/0.1315, allocations: 1.199 MB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.1317, allocations: 39.81 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.1318, allocations: 0 / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.1319, allocations: 0 / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.132, allocations: 11.92 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1321, allocations: 11.98 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1323, allocations: 71.86 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1323, allocations: 4 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.1324, allocations: 27.97 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1325, allocations: 31.91 kB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1325, allocations: 4 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.1325, allocations: 0 / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.1325, allocations: 15.98 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.1326, allocations: 23.91 kB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.437e-05/0.1327, allocations: 31.89 kB / 0.6507 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1327, allocations: 0 / 0.6507 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1327, allocations: 0 / 0.6507 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1327, allocations: 0 / 0.6507 GB, free: 12.11 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.0005249/0.1332, allocations: 366.9 kB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1333, allocations: 12.03 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1333, allocations: 38.73 kB / 0.651 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1334, allocations: 8.844 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1335, allocations: 184.5 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1335, allocations: 384 / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1336, allocations: 12.38 kB / 0.6512 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1337, allocations: 74.2 kB / 0.6513 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1337, allocations: 11.84 kB / 0.6513 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1338, allocations: 0 / 0.6513 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1338, allocations: 0 / 0.6513 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.1338, allocations: 35.95 kB / 0.6514 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.134, allocations: 185.6 kB / 0.6515 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1342, allocations: 74.48 kB / 0.6516 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.1342, allocations: 24.84 kB / 0.6516 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1342, allocations: 12 kB / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1343, allocations: 30.56 kB / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1343, allocations: 0 / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002216/0.1345, allocations: 105.6 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1345, allocations: 63.34 kB / 0.6518 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.1346, allocations: 101.8 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1346, allocations: 29.7 kB / 0.652 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1347, allocations: 84.14 kB / 0.652 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1347, allocations: 43.67 kB / 0.6521 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1348, allocations: 33.7 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.1349, allocations: 318.8 kB / 0.6524 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.1349, allocations: 39.97 kB / 0.6525 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.135, allocations: 72.61 kB / 0.6525 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1352, allocations: 116.2 kB / 0.6526 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1352, allocations: 0 / 0.6526 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001973/0.1354, allocations: 153.4 kB / 0.6528 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1354, allocations: 4 kB / 0.6528 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1354, allocations: 8.125 kB / 0.6528 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1354, allocations: 0 / 0.6528 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1356, allocations: 31.98 kB / 0.6528 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.1356, allocations: 4 kB / 0.6528 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.1357, allocations: 23.72 kB / 0.6529 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1357, allocations: 7.984 kB / 0.6529 GB, free: 9.59 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 8.379e-05/0.1358, allocations: 114.7 kB / 0.653 GB, free: 9.469 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.1358, allocations: 3.938 kB / 0.653 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.1359, allocations: 15.97 kB / 0.653 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1359, allocations: 4 kB / 0.653 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1359, allocations: 0 / 0.653 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1359, allocations: 0 / 0.653 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.136, allocations: 181.6 kB / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.136, allocations: 0 / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1362, allocations: 31.92 kB / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1362, allocations: 0 / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1363, allocations: 7.938 kB / 0.6532 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1363, allocations: 0 / 0.6532 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1363, allocations: 0 / 0.6532 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1365, allocations: 152.9 kB / 0.6533 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.1365, allocations: 85.02 kB / 0.6534 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1366, allocations: 0 / 0.6534 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.1366, allocations: 4 kB / 0.6534 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.1366, allocations: 3.984 kB / 0.6534 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1366, allocations: 8 kB / 0.6534 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.133e-05/0.1367, allocations: 79.47 kB / 0.6535 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 0 / 0.6535 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002033/0.1369, allocations: 20 kB / 0.6535 GB, free: 8.793 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.0004189/0.1373, allocations: 0.7049 MB / 0.6542 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1375, allocations: 88.11 kB / 0.6543 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1375, allocations: 256 / 0.6543 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.1376, allocations: 47.91 kB / 0.6544 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.1377, allocations: 4 kB / 0.6544 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1395, allocations: 1.952 MB / 0.6563 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1397, allocations: 0.7039 MB / 0.657 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.487e-05/0.1398, allocations: 28.64 kB / 0.657 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1398, allocations: 15.44 kB / 0.657 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of SimCode: time 4.3e-07/0.1398, allocations: 0 / 0.657 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1586, allocations: 2.01 MB / 0.659 GB, free: 3.262 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.31, allocations: 18.38 kB / 0.659 GB, free: 3.25 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