Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",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.00151/0.001516, allocations: 107.5 kB / 16.92 MB, free: 6.141 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.002882/0.002882, allocations: 191.3 kB / 17.85 MB, free: 5.309 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.507/1.507, 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.179/1.179, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001796, allocations: 63.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7021, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002804/0.7049, allocations: 1.228 MB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.7051, allocations: 38.88 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.7052, allocations: 1.375 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.7053, allocations: 8 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.7054, allocations: 14.66 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.7056, allocations: 20.08 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.7058, allocations: 222.6 kB / 0.5713 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.7059, allocations: 14.2 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.706, allocations: 74.53 kB / 0.5714 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.7061, allocations: 77.31 kB / 0.5715 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.7062, allocations: 11.81 kB / 0.5715 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.7063, allocations: 11.91 kB / 0.5715 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.7064, allocations: 64.78 kB / 0.5716 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.7065, allocations: 74.8 kB / 0.5716 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.7066, allocations: 120.4 kB / 0.5718 GB, free: 41.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7066, allocations: 0 / 0.5718 GB, free: 41.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7066, allocations: 0 / 0.5718 GB, free: 41.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.7067, allocations: 0 / 0.5718 GB, free: 41.99 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009666/0.7076, allocations: 0.525 MB / 0.5723 GB, free: 41.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.7077, allocations: 8.594 kB / 0.5723 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.7077, allocations: 48.67 kB / 0.5723 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.7078, allocations: 16.31 kB / 0.5723 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.7079, allocations: 205.8 kB / 0.5725 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.708, allocations: 15.66 kB / 0.5726 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7081, allocations: 28.84 kB / 0.5726 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.7086, allocations: 182.5 kB / 0.5728 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7086, allocations: 5.344 kB / 0.5728 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.7086, allocations: 5.406 kB / 0.5728 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7086, allocations: 3.688 kB / 0.5728 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.7088, allocations: 112.9 kB / 0.5729 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.7092, allocations: 314.3 kB / 0.5732 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.7099, allocations: 265.8 kB / 0.5734 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.7101, allocations: 120.9 kB / 0.5735 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.7101, allocations: 7.156 kB / 0.5736 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.7101, allocations: 40.88 kB / 0.5736 GB, free: 40.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.7101, allocations: 0 / 0.5736 GB, free: 40.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001777/0.7119, allocations: 0.625 MB / 0.5742 GB, free: 40.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.7119, allocations: 54.16 kB / 0.5743 GB, free: 40.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.712, allocations: 108.3 kB / 0.5744 GB, free: 40 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.712, allocations: 35.02 kB / 0.5744 GB, free: 39.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.7121, allocations: 87.67 kB / 0.5745 GB, free: 39.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.7122, allocations: 120.7 kB / 0.5746 GB, free: 39.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.7122, allocations: 79.06 kB / 0.5747 GB, free: 39.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.7123, allocations: 328.4 kB / 0.575 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.7126, allocations: 130.5 kB / 0.5751 GB, free: 39.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.713, allocations: 219.8 kB / 0.5753 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.7134, allocations: 368.4 kB / 0.5757 GB, free: 38.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7134, allocations: 1.156 kB / 0.5757 GB, free: 38.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001021/0.7145, allocations: 0.52 MB / 0.5762 GB, free: 38.68 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.7145, allocations: 6.625 kB / 0.5762 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.7145, allocations: 5.766 kB / 0.5762 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.7152, allocations: 148.9 kB / 0.5763 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.7155, allocations: 81.12 kB / 0.5764 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.718, allocations: 2.167 MB / 0.5785 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.7182, allocations: 27.16 kB / 0.5785 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.7182, allocations: 19.06 kB / 0.5786 GB, free: 36.74 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.7183, allocations: 142.6 kB / 0.5787 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.7184, allocations: 17.31 kB / 0.5787 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.7184, allocations: 39.05 kB / 0.5788 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7184, allocations: 2.781 kB / 0.5788 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.7185, allocations: 1.844 kB / 0.5788 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7185, allocations: 0.9062 kB / 0.5788 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.7188, allocations: 309.8 kB / 0.5791 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7188, allocations: 4 kB / 0.5791 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.7192, allocations: 66.41 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/0.7198, allocations: 148.9 kB / 0.5793 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.7198, allocations: 14.42 kB / 0.5793 GB, free: 36.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.7224, allocations: 2.135 MB / 0.5814 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7225, allocations: 8.812 kB / 0.5814 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.7236, allocations: 0.5653 MB / 0.5819 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.7236, allocations: 92.67 kB / 0.582 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.7236, allocations: 19.48 kB / 0.582 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.7237, allocations: 9.25 kB / 0.582 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.7238, allocations: 22.09 kB / 0.5821 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.7238, allocations: 10.3 kB / 0.5821 GB, free: 33.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.954e-05/0.7239, allocations: 81.81 kB / 0.5821 GB, free: 33.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.7239, allocations: 0 / 0.5821 GB, free: 33.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003539/0.7242, allocations: 71.31 kB / 0.5822 GB, free: 33.86 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.7257, allocations: 1.13 MB / 0.5833 GB, free: 33.01 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.7271, allocations: 0.5333 MB / 0.5838 GB, free: 32.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7271, allocations: 4.188 kB / 0.5838 GB, free: 32.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.7277, allocations: 333.9 kB / 0.5842 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.728, allocations: 11.78 kB / 0.5842 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.733, allocations: 3.979 MB / 0.5881 GB, free: 29.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.7332, allocations: 0.7424 MB / 0.5888 GB, free: 28.78 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.7334, allocations: 68.88 kB / 0.5889 GB, free: 28.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.7335, allocations: 44.23 kB / 0.5889 GB, free: 28.71 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.7335, allocations: 1.062 kB / 0.5889 GB, free: 28.71 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.7658, allocations: 5.213 MB / 0.594 GB, free: 24.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.52, allocations: 1.812 kB / 0.594 GB, free: 24.21 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches