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.001308/0.001309, allocations: 104.9 kB / 17.06 MB, free: 6.016 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.001354/0.001354, allocations: 195 kB / 18 MB, free: 5.094 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.247/1.247, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8459/0.8459, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.42 kB / 0.5704 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 80.71 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002006/0.1453, allocations: 1.203 MB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.1455, allocations: 43.86 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.1456, allocations: 4 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.7e-05/0.1457, allocations: 0 / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.1457, allocations: 15.92 kB / 0.6505 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1459, allocations: 23.95 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.146, allocations: 99.83 kB / 0.6506 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1461, allocations: 4 kB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.1461, allocations: 31.97 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1462, allocations: 39.88 kB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1463, allocations: 8 kB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.1463, allocations: 8 kB / 0.6507 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1463, allocations: 23.97 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.1464, allocations: 31.8 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.92e-05/0.1465, allocations: 50.67 kB / 0.6508 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1465, allocations: 0 / 0.6508 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1465, allocations: 0 / 0.6508 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1465, allocations: 0 / 0.6508 GB, free: 12.02 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.0006117/0.1471, allocations: 412.1 kB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1472, allocations: 8.031 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.1472, allocations: 38.75 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1472, allocations: 4.938 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1474, allocations: 172.4 kB / 0.6514 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1474, allocations: 8.375 kB / 0.6514 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.1475, allocations: 20.28 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1477, allocations: 90.12 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1477, allocations: 3.938 kB / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1477, allocations: 0 / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1477, allocations: 7.922 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.1478, allocations: 39.97 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.148, allocations: 209.6 kB / 0.6517 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1484, allocations: 142.5 kB / 0.6519 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.593e-05/0.1485, allocations: 56.83 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1485, allocations: 0 / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1485, allocations: 34.56 kB / 0.6519 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.1485, allocations: 3.938 kB / 0.652 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.000726/0.1493, allocations: 311.3 kB / 0.6523 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1493, allocations: 55.56 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.1494, allocations: 98.2 kB / 0.6524 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1494, allocations: 33.64 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1495, allocations: 90.47 kB / 0.6525 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.1495, allocations: 51.25 kB / 0.6526 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1496, allocations: 37.72 kB / 0.6526 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1497, allocations: 326.8 kB / 0.6529 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.1498, allocations: 51.95 kB / 0.653 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1499, allocations: 88.2 kB / 0.653 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1501, allocations: 152.2 kB / 0.6532 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1501, allocations: 0 / 0.6532 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004225/0.1505, allocations: 218.3 kB / 0.6534 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1506, allocations: 11.88 kB / 0.6534 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1506, allocations: 4 kB / 0.6534 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.1509, allocations: 68.86 kB / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.151, allocations: 31.98 kB / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1525, allocations: 1.578 MB / 0.6551 GB, free: 7.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.1525, allocations: 15.92 kB / 0.6551 GB, free: 7.164 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1526, allocations: 7.938 kB / 0.6551 GB, free: 7.156 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.000102/0.1527, allocations: 130.7 kB / 0.6552 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1527, allocations: 3.906 kB / 0.6552 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.1527, allocations: 15.97 kB / 0.6552 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1527, allocations: 4 kB / 0.6552 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1527, allocations: 0 / 0.6552 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1528, allocations: 0 / 0.6552 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.153, allocations: 217.4 kB / 0.6554 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.153, allocations: 0 / 0.6554 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1531, allocations: 31.98 kB / 0.6555 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.1534, allocations: 56.8 kB / 0.6555 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1534, allocations: 11.98 kB / 0.6555 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.1547, allocations: 1.574 MB / 0.6571 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1548, allocations: 0 / 0.6571 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.1552, allocations: 264.8 kB / 0.6573 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1553, allocations: 88.89 kB / 0.6574 GB, free: 4.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1553, allocations: 4 kB / 0.6574 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.1554, allocations: 12.12 kB / 0.6574 GB, free: 4.527 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1554, allocations: 19.91 kB / 0.6574 GB, free: 4.508 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1554, allocations: 0 / 0.6574 GB, free: 4.508 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.1554, allocations: 83.28 kB / 0.6575 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 0.6575 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002531/0.1557, allocations: 28 kB / 0.6575 GB, free: 4.398 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.0007245/0.1564, allocations: 0.7976 MB / 0.6583 GB, free: 3.566 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.1569, allocations: 254.6 kB / 0.6586 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1569, allocations: 0 / 0.6586 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.1572, allocations: 194.8 kB / 0.6587 GB, free: 3.102 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1574, allocations: 14.25 kB / 0.6588 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1599, allocations: 2.198 MB / 0.6609 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1602, allocations: 0.7002 MB / 0.6616 GB, free: 52 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.1603, allocations: 28.52 kB / 0.6616 GB, free: 24 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1603, allocations: 22.95 kB / 0.6616 GB, free: 4 kB / 0.4983 GB Notification: Performance of SimCode: time 3.11e-07/0.1603, allocations: 0 / 0.6616 GB, free: 4 kB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1845, allocations: 2.9 MB / 0.6645 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/9.31, allocations: 4.438 kB / 0.6645 GB, free: 13.32 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