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.00111/0.00111, allocations: 91.25 kB / 16.65 MB, free: 6.602 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.001502/0.001502, allocations: 184.9 kB / 17.56 MB, free: 6.199 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.694/1.694, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.514/1.514, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 4 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8318, allocations: 82.85 MB / 0.5759 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001517/0.8334, allocations: 0.9432 MB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.8337, allocations: 38.69 kB / 0.5769 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.8337, allocations: 0 / 0.5769 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.8339, allocations: 5.75 kB / 0.5769 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.834, allocations: 1.781 kB / 0.5769 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.8342, allocations: 25.36 kB / 0.5769 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.8344, allocations: 127.3 kB / 0.577 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/0.8345, allocations: 1.375 kB / 0.577 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.8346, allocations: 44.48 kB / 0.5771 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.8347, allocations: 33.69 kB / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.8347, allocations: 5.5 kB / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.8348, allocations: 4.125 kB / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.8348, allocations: 29.53 kB / 0.5771 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.8349, allocations: 56.33 kB / 0.5772 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.835, allocations: 50.78 kB / 0.5772 GB, free: 40.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.835, allocations: 0 / 0.5772 GB, free: 40.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.437e-06/0.835, allocations: 0 / 0.5772 GB, free: 40.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.8351, allocations: 5 kB / 0.5772 GB, free: 40.8 MB / 462.3 MB 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.0007877/0.8359, allocations: 392.7 kB / 0.5776 GB, free: 40.41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.8359, allocations: 8.625 kB / 0.5776 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.836, allocations: 37.56 kB / 0.5777 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.836, allocations: 8.75 kB / 0.5777 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.8362, allocations: 185.3 kB / 0.5778 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.8362, allocations: 11.2 kB / 0.5779 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.8362, allocations: 11.03 kB / 0.5779 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.8366, allocations: 83.11 kB / 0.5779 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.8366, allocations: 9.188 kB / 0.578 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8366, allocations: 0 / 0.578 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8366, allocations: 1.281 kB / 0.578 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.8367, allocations: 44.11 kB / 0.578 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.837, allocations: 213.1 kB / 0.5782 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.8374, allocations: 139.2 kB / 0.5783 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.8376, allocations: 50.3 kB / 0.5784 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.8376, allocations: 1.094 kB / 0.5784 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.8377, allocations: 36.19 kB / 0.5784 GB, free: 39.67 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.8377, allocations: 0 / 0.5784 GB, free: 39.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007359/0.8384, allocations: 308 kB / 0.5787 GB, free: 39.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.8385, allocations: 52.75 kB / 0.5788 GB, free: 39.39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.8386, allocations: 106.3 kB / 0.5789 GB, free: 39.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.8386, allocations: 31.2 kB / 0.5789 GB, free: 39.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.8386, allocations: 81.52 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.8387, allocations: 53.34 kB / 0.579 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.8387, allocations: 32.02 kB / 0.5791 GB, free: 39.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.8388, allocations: 317.5 kB / 0.5794 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.8389, allocations: 53.36 kB / 0.5794 GB, free: 38.74 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.839, allocations: 92.77 kB / 0.5795 GB, free: 38.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.8392, allocations: 147.5 kB / 0.5796 GB, free: 38.58 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8392, allocations: 0 / 0.5796 GB, free: 38.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004982/0.8397, allocations: 229.4 kB / 0.5799 GB, free: 38.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8398, allocations: 9.562 kB / 0.5799 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8398, allocations: 5.375 kB / 0.5799 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.8402, allocations: 57.8 kB / 0.5799 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.8405, allocations: 34.11 kB / 0.58 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.8427, allocations: 1.471 MB / 0.5814 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.8428, allocations: 15.66 kB / 0.5814 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.8428, allocations: 4.625 kB / 0.5814 GB, free: 36.96 MB / 462.3 MB 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.0001194/0.843, allocations: 132.1 kB / 0.5815 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.843, allocations: 2.75 kB / 0.5815 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.843, allocations: 16.91 kB / 0.5816 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.843, allocations: 4.844 kB / 0.5816 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.8431, allocations: 0.9062 kB / 0.5816 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.8431, allocations: 0.9375 kB / 0.5816 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.8434, allocations: 211.6 kB / 0.5818 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8434, allocations: 0.9062 kB / 0.5818 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.8436, allocations: 25.2 kB / 0.5818 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.8439, allocations: 60.44 kB / 0.5818 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.8439, allocations: 6.75 kB / 0.5819 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.8451, allocations: 1.475 MB / 0.5833 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8452, allocations: 0 / 0.5833 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.8457, allocations: 262 kB / 0.5835 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.8458, allocations: 86.83 kB / 0.5836 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.8458, allocations: 6.75 kB / 0.5836 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.8459, allocations: 5 kB / 0.5836 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.8459, allocations: 16.52 kB / 0.5837 GB, free: 34.83 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.8459, allocations: 2.781 kB / 0.5837 GB, free: 34.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.846, allocations: 82.02 kB / 0.5837 GB, free: 34.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.846, allocations: 0 / 0.5837 GB, free: 34.75 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000259/0.8462, allocations: 33.44 kB / 0.5838 GB, free: 34.75 MB / 462.3 MB 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.0006801/0.8469, allocations: 0.7942 MB / 0.5845 GB, free: 34.04 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.8475, allocations: 256.6 kB / 0.5848 GB, free: 33.87 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-05/0.8475, allocations: 0 / 0.5848 GB, free: 33.87 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.8479, allocations: 201 kB / 0.585 GB, free: 33.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.8481, allocations: 14.45 kB / 0.585 GB, free: 33.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.851, allocations: 2.319 MB / 0.5873 GB, free: 31.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.8513, allocations: 0.7058 MB / 0.5879 GB, free: 31.02 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.8514, allocations: 31.5 kB / 0.588 GB, free: 31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.8514, allocations: 20.5 kB / 0.588 GB, free: 30.99 MB / 462.3 MB Notification: Performance of SimCode: time 7.22e-07/0.8515, allocations: 4 kB / 0.588 GB, free: 30.98 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.8714, allocations: 2.575 MB / 0.5905 GB, free: 29.86 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006225/0.8722, allocations: 291.3 kB / 0.5908 GB, free: 29.47 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.305, allocations: 0 / 0.5908 GB, free: 29.47 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches