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.001294/0.001294, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.001415/0.001415, allocations: 198.9 kB / 18 MB, free: 5.082 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8652/0.8652, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 61.73 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 80.7 MB / 0.6492 GB, free: 13.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002376/0.1338, allocations: 1.218 MB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.1341, allocations: 43.88 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.1341, allocations: 0 / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.745e-05/0.1342, allocations: 3.938 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.1343, allocations: 11.97 kB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1344, allocations: 23.97 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1347, allocations: 103.8 kB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1347, allocations: 3.984 kB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.1348, allocations: 35.92 kB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.1349, allocations: 35.88 kB / 0.6507 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1349, allocations: 8 kB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.1349, allocations: 4 kB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.135, allocations: 23.97 kB / 0.6507 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.135, allocations: 35.84 kB / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.404e-05/0.1351, allocations: 42.69 kB / 0.6508 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.1352, allocations: 4 kB / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1352, allocations: 4 kB / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1352, allocations: 0 / 0.6508 GB, free: 11.96 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.0006986/0.1359, allocations: 412.1 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1359, allocations: 8.031 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.136, allocations: 34.75 kB / 0.6512 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.136, allocations: 4.938 kB / 0.6512 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1362, allocations: 184.2 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1362, allocations: 4.375 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1363, allocations: 20.27 kB / 0.6514 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1365, allocations: 86.19 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1365, allocations: 3.938 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1365, allocations: 8 kB / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1365, allocations: 4 kB / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.1366, allocations: 43.95 kB / 0.6515 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.1369, allocations: 209.5 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.1373, allocations: 138.5 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.1374, allocations: 52.83 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1374, allocations: 0 / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1374, allocations: 38.56 kB / 0.652 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1374, allocations: 0 / 0.652 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.000753/0.1382, allocations: 311.2 kB / 0.6523 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1383, allocations: 51.62 kB / 0.6523 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.1383, allocations: 106.2 kB / 0.6524 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1384, allocations: 33.64 kB / 0.6524 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.1384, allocations: 86.48 kB / 0.6525 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1385, allocations: 43.27 kB / 0.6526 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1385, allocations: 41.7 kB / 0.6526 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1387, allocations: 322.8 kB / 0.6529 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1388, allocations: 51.95 kB / 0.653 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1389, allocations: 92.2 kB / 0.6531 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1391, allocations: 144.2 kB / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1391, allocations: 0 / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004304/0.1395, allocations: 230.2 kB / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1396, allocations: 19 kB / 0.6534 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1396, allocations: 0 / 0.6534 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.1399, allocations: 60.92 kB / 0.6535 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1401, allocations: 31.98 kB / 0.6535 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1415, allocations: 1.582 MB / 0.6551 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.1416, allocations: 11.97 kB / 0.6551 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1416, allocations: 11.94 kB / 0.6551 GB, free: 7.105 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 9.453e-05/0.1417, allocations: 126.6 kB / 0.6552 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.1417, allocations: 7.969 kB / 0.6552 GB, free: 6.965 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.1418, allocations: 19.97 kB / 0.6552 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1418, allocations: 0 / 0.6552 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1418, allocations: 0 / 0.6552 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1418, allocations: 3.984 kB / 0.6552 GB, free: 6.945 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.142, allocations: 213.4 kB / 0.6554 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.142, allocations: 0 / 0.6554 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1421, allocations: 27.92 kB / 0.6555 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.1424, allocations: 64.73 kB / 0.6555 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1425, allocations: 11.98 kB / 0.6555 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.1438, allocations: 1.571 MB / 0.6571 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1438, allocations: 0 / 0.6571 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.1443, allocations: 264.4 kB / 0.6573 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1443, allocations: 92.95 kB / 0.6574 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1444, allocations: 3.984 kB / 0.6574 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.1444, allocations: 4 kB / 0.6574 GB, free: 4.48 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1445, allocations: 19.86 kB / 0.6574 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1445, allocations: 0 / 0.6574 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.1445, allocations: 79.28 kB / 0.6575 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1445, allocations: 4 kB / 0.6575 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000253/0.1448, allocations: 28 kB / 0.6575 GB, free: 4.352 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.0006865/0.1455, allocations: 0.8015 MB / 0.6583 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.146, allocations: 258.6 kB / 0.6586 GB, free: 3.25 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.146, allocations: 0 / 0.6586 GB, free: 3.25 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1463, allocations: 198.5 kB / 0.6588 GB, free: 3.043 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1465, allocations: 6.25 kB / 0.6588 GB, free: 3.039 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1489, allocations: 2.194 MB / 0.6609 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1493, allocations: 0.6963 MB / 0.6616 GB, free: 8 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.681e-05/0.1494, allocations: 28.52 kB / 0.6616 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1494, allocations: 19.44 kB / 0.6616 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.1494, allocations: 0 / 0.6616 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1755, allocations: 2.915 MB / 0.6645 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/9.132, allocations: 2.875 kB / 0.6645 GB, free: 13.26 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