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.001475/0.001475, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001445/0.001446, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.497/1.497, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.303/1.303, allocations: 119.3 MB / 410.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.89 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6937, allocations: 80.69 MB / 0.5692 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002788/0.6965, allocations: 1.279 MB / 0.5704 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.6967, allocations: 43.81 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.6968, allocations: 0 / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.6969, allocations: 1.188 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.697, allocations: 10.12 kB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.6972, allocations: 24.34 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.6974, allocations: 127.1 kB / 0.5706 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.6974, allocations: 6.844 kB / 0.5706 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.6975, allocations: 35.41 kB / 0.5706 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.6976, allocations: 35.84 kB / 0.5707 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.6976, allocations: 4.031 kB / 0.5707 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.6976, allocations: 3.938 kB / 0.5707 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.6977, allocations: 32.45 kB / 0.5707 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.6979, allocations: 34.88 kB / 0.5707 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.6982, allocations: 45.97 kB / 0.5708 GB, free: 42.24 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.6982, allocations: 1.188 kB / 0.5708 GB, free: 42.24 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6982, allocations: 0 / 0.5708 GB, free: 42.24 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.6982, allocations: 4 kB / 0.5708 GB, free: 42.24 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.000607/0.6989, allocations: 397.2 kB / 0.5712 GB, free: 41.85 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6989, allocations: 13.62 kB / 0.5712 GB, free: 41.84 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.699, allocations: 41.44 kB / 0.5712 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.6991, allocations: 3.688 kB / 0.5712 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.6993, allocations: 181.8 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6993, allocations: 8.5 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6993, allocations: 11.25 kB / 0.5714 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.6995, allocations: 89.62 kB / 0.5715 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.6996, allocations: 5.312 kB / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.6996, allocations: 4 kB / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6996, allocations: 1.375 kB / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.6997, allocations: 48.66 kB / 0.5716 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.6999, allocations: 211.8 kB / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.7004, allocations: 132.1 kB / 0.5719 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.7005, allocations: 45.44 kB / 0.5719 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.7005, allocations: 6.797 kB / 0.5719 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.7005, allocations: 34.56 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.7005, allocations: 0 / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007833/0.7013, allocations: 313.7 kB / 0.5723 GB, free: 40.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.7014, allocations: 52.66 kB / 0.5723 GB, free: 40.83 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.7014, allocations: 98.72 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7015, allocations: 29.7 kB / 0.5724 GB, free: 40.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.7015, allocations: 89.92 kB / 0.5725 GB, free: 40.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.7015, allocations: 52.28 kB / 0.5726 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.7016, allocations: 36.97 kB / 0.5726 GB, free: 40.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.7017, allocations: 329.3 kB / 0.5729 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.7018, allocations: 56.16 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.7019, allocations: 86.44 kB / 0.5731 GB, free: 40.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.7023, allocations: 146.8 kB / 0.5732 GB, free: 40.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.7024, allocations: 5.188 kB / 0.5732 GB, free: 40.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005771/0.703, allocations: 229.1 kB / 0.5734 GB, free: 39.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.703, allocations: 9.125 kB / 0.5734 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.703, allocations: 5.156 kB / 0.5734 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.7034, allocations: 58.05 kB / 0.5735 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.7035, allocations: 33.55 kB / 0.5735 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.7049, allocations: 1.472 MB / 0.575 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.705, allocations: 7.406 kB / 0.575 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.7051, allocations: 5.781 kB / 0.575 GB, free: 38.41 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 8.143e-05/0.7051, allocations: 131.1 kB / 0.5751 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.7052, allocations: 2.844 kB / 0.5751 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.7052, allocations: 13.59 kB / 0.5751 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7052, allocations: 1.531 kB / 0.5751 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.7052, allocations: 0 / 0.5751 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7052, allocations: 5.438 kB / 0.5751 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.7054, allocations: 216.1 kB / 0.5753 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7054, allocations: 3.938 kB / 0.5753 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.7056, allocations: 29.98 kB / 0.5754 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.7059, allocations: 60.19 kB / 0.5754 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.7059, allocations: 2.688 kB / 0.5754 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.7071, allocations: 1.467 MB / 0.5769 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7072, allocations: 5.094 kB / 0.5769 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7078, allocations: 258 kB / 0.5771 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.7079, allocations: 91.44 kB / 0.5772 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.7079, allocations: 7.062 kB / 0.5772 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.7079, allocations: 1.031 kB / 0.5772 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.708, allocations: 19.67 kB / 0.5772 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.708, allocations: 2.625 kB / 0.5772 GB, free: 36.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.708, allocations: 82.98 kB / 0.5773 GB, free: 36.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.708, allocations: 0 / 0.5773 GB, free: 36.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000271/0.7083, allocations: 27.5 kB / 0.5773 GB, free: 36.18 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.0006599/0.709, allocations: 0.7911 MB / 0.5781 GB, free: 35.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.7095, allocations: 254.7 kB / 0.5783 GB, free: 35.31 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7095, allocations: 3.938 kB / 0.5784 GB, free: 35.31 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.7098, allocations: 200.6 kB / 0.5785 GB, free: 35.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.7099, allocations: 13.16 kB / 0.5786 GB, free: 35.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.7126, allocations: 2.211 MB / 0.5807 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.7127, allocations: 0.7014 MB / 0.5814 GB, free: 32.56 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.7128, allocations: 36.19 kB / 0.5814 GB, free: 32.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.7129, allocations: 23.56 kB / 0.5815 GB, free: 32.52 MB / 462.3 MB Notification: Performance of SimCode: time 2.71e-07/0.7129, allocations: 5.375 kB / 0.5815 GB, free: 32.52 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.7287, allocations: 2.651 MB / 0.5841 GB, free: 31.3 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.7289, allocations: 280 kB / 0.5843 GB, free: 30.92 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.992, allocations: 0 / 0.5843 GB, free: 30.92 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