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.001312/0.001312, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001298/0.001298, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.357/1.357, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.171/1.171, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5862, allocations: 80.69 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002428/0.5887, allocations: 1.197 MB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.5889, allocations: 37.22 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.5889, allocations: 0 / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.52e-05/0.589, allocations: 5.531 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.5891, allocations: 9.297 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.5893, allocations: 15.88 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.5894, allocations: 70.45 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.5895, allocations: 1.75 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.5895, allocations: 25.77 kB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.5896, allocations: 31.7 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.5896, allocations: 2.25 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.5897, allocations: 2.5 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.5897, allocations: 15.42 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.5898, allocations: 28.61 kB / 0.5713 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.5899, allocations: 34.55 kB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5899, allocations: 4 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5899, allocations: 0 / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.5899, allocations: 5.406 kB / 0.5713 GB, free: 42.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005108/0.5904, allocations: 373.4 kB / 0.5716 GB, free: 41.87 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5905, allocations: 10.41 kB / 0.5717 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.5905, allocations: 36.12 kB / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.5906, allocations: 7.688 kB / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5907, allocations: 171.1 kB / 0.5719 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5907, allocations: 3.125 kB / 0.5719 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.5907, allocations: 13.78 kB / 0.5719 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.5909, allocations: 65.38 kB / 0.5719 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5909, allocations: 9.297 kB / 0.572 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5909, allocations: 4 kB / 0.572 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.591, allocations: 5.312 kB / 0.572 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.591, allocations: 29.84 kB / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.5912, allocations: 182.2 kB / 0.5722 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.5913, allocations: 66.17 kB / 0.5722 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.5914, allocations: 36.19 kB / 0.5723 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.5914, allocations: 1.375 kB / 0.5723 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5915, allocations: 35.94 kB / 0.5723 GB, free: 41.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.5915, allocations: 0 / 0.5723 GB, free: 41.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002506/0.5917, allocations: 118.1 kB / 0.5724 GB, free: 41.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.5918, allocations: 56.62 kB / 0.5725 GB, free: 41.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.5918, allocations: 103.6 kB / 0.5726 GB, free: 40.97 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5919, allocations: 29.7 kB / 0.5726 GB, free: 40.93 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.5919, allocations: 85.83 kB / 0.5727 GB, free: 40.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.5919, allocations: 36.17 kB / 0.5727 GB, free: 40.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.592, allocations: 28.66 kB / 0.5727 GB, free: 40.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.5921, allocations: 321.5 kB / 0.573 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.5921, allocations: 36.91 kB / 0.5731 GB, free: 40.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.5922, allocations: 74.05 kB / 0.5731 GB, free: 40.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.5924, allocations: 118.6 kB / 0.5733 GB, free: 40.31 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5924, allocations: 4 kB / 0.5733 GB, free: 40.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002567/0.5927, allocations: 156.7 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5927, allocations: 5.688 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5927, allocations: 1.625 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5927, allocations: 0.6562 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.5929, allocations: 35.89 kB / 0.5735 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5929, allocations: 6.594 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.593, allocations: 14.28 kB / 0.5735 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.593, allocations: 5.344 kB / 0.5735 GB, free: 40.19 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 (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 7.987e-05/0.5931, allocations: 125.6 kB / 0.5736 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.5931, allocations: 6.375 kB / 0.5736 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.5932, allocations: 13.25 kB / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5932, allocations: 5.156 kB / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5932, allocations: 0 / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5932, allocations: 0 / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5933, allocations: 178.4 kB / 0.5738 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5933, allocations: 0 / 0.5738 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.5935, allocations: 31.3 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5935, allocations: 9.203 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.5935, allocations: 2.531 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5935, allocations: 0 / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5935, allocations: 5.547 kB / 0.5738 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.5938, allocations: 157.8 kB / 0.574 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.5938, allocations: 79.8 kB / 0.5741 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5939, allocations: 6.609 kB / 0.5741 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.5939, allocations: 1.812 kB / 0.5741 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.5939, allocations: 13.61 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5939, allocations: 2.938 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.307e-05/0.594, allocations: 81.12 kB / 0.5742 GB, free: 39.51 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.594, allocations: 0 / 0.5742 GB, free: 39.51 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001998/0.5942, allocations: 14.22 kB / 0.5742 GB, free: 39.51 MB / 462.3 MB 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.0003653/0.5945, allocations: 0.6882 MB / 0.5749 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.5948, allocations: 95.97 kB / 0.5749 GB, free: 38.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5948, allocations: 0 / 0.5749 GB, free: 38.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.5948, allocations: 33.27 kB / 0.575 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.595, allocations: 6.75 kB / 0.575 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.5967, allocations: 1.966 MB / 0.5769 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.5969, allocations: 0.6926 MB / 0.5776 GB, free: 36.37 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.743e-05/0.597, allocations: 24.7 kB / 0.5776 GB, free: 36.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.597, allocations: 23.23 kB / 0.5776 GB, free: 36.34 MB / 462.3 MB Notification: Performance of SimCode: time 5.01e-07/0.597, allocations: 1.25 kB / 0.5776 GB, free: 36.34 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.926/1.523, allocations: 1.957 MB / 0.5795 GB, free: 35.36 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/10.17, allocations: 8.031 kB / 0.5795 GB, free: 35.36 MB / 462.3 MB (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