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.001311/0.001311, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001238/0.001238, allocations: 195.1 kB / 17.42 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.559/1.559, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.494/1.494, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 60.14 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6629, allocations: 80.69 MB / 0.5692 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002501/0.6654, allocations: 1.287 MB / 0.5704 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.6656, allocations: 38.75 kB / 0.5704 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.6657, allocations: 5.438 kB / 0.5705 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.6658, allocations: 3.984 kB / 0.5705 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.6658, allocations: 9.25 kB / 0.5705 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.666, allocations: 19.84 kB / 0.5705 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.6663, allocations: 247.4 kB / 0.5707 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.6663, allocations: 7.281 kB / 0.5707 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.6664, allocations: 80.61 kB / 0.5708 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.6665, allocations: 81.97 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.6666, allocations: 11.06 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.6666, allocations: 11.66 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.6667, allocations: 61.77 kB / 0.571 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.6668, allocations: 73.91 kB / 0.571 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.6669, allocations: 116.5 kB / 0.5711 GB, free: 42.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.667, allocations: 3.984 kB / 0.5711 GB, free: 42.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.273e-06/0.667, allocations: 0 / 0.5711 GB, free: 42.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.667, allocations: 0 / 0.5711 GB, free: 42.1 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.001225/0.6682, allocations: 0.5328 MB / 0.5717 GB, free: 41.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6683, allocations: 9.625 kB / 0.5717 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.6683, allocations: 48.23 kB / 0.5717 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.6684, allocations: 15.72 kB / 0.5717 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.6686, allocations: 198.6 kB / 0.5719 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.6686, allocations: 16.09 kB / 0.5719 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.6687, allocations: 31.94 kB / 0.572 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.669, allocations: 178.1 kB / 0.5721 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.669, allocations: 5.156 kB / 0.5721 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.669, allocations: 10.16 kB / 0.5722 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.669, allocations: 2.844 kB / 0.5722 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.6692, allocations: 105.3 kB / 0.5723 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.6696, allocations: 313.6 kB / 0.5726 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.6701, allocations: 273.1 kB / 0.5728 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.6703, allocations: 121.6 kB / 0.5729 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6703, allocations: 6.484 kB / 0.5729 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.6703, allocations: 49.06 kB / 0.573 GB, free: 40.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.6704, allocations: 0 / 0.573 GB, free: 40.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001747/0.6721, allocations: 0.6297 MB / 0.5736 GB, free: 40.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.6722, allocations: 55.66 kB / 0.5737 GB, free: 40.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.6722, allocations: 103.3 kB / 0.5738 GB, free: 40.1 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6722, allocations: 35.45 kB / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.6723, allocations: 82.83 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.6724, allocations: 124.8 kB / 0.574 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6725, allocations: 75.86 kB / 0.5741 GB, free: 39.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.6725, allocations: 335.9 kB / 0.5744 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.6727, allocations: 125.8 kB / 0.5745 GB, free: 39.44 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.673, allocations: 214.3 kB / 0.5747 GB, free: 39.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.6735, allocations: 374.7 kB / 0.5751 GB, free: 39.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6735, allocations: 0 / 0.5751 GB, free: 39.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009546/0.6745, allocations: 0.5165 MB / 0.5756 GB, free: 38.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6745, allocations: 7.594 kB / 0.5756 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6745, allocations: 1.562 kB / 0.5756 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/0.6754, allocations: 152.2 kB / 0.5757 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.6756, allocations: 86.88 kB / 0.5758 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6778, allocations: 1.995 MB / 0.5778 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6779, allocations: 35.12 kB / 0.5778 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.6779, allocations: 12 kB / 0.5778 GB, free: 36.98 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.0001046/0.678, allocations: 143.1 kB / 0.5779 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.6781, allocations: 9.406 kB / 0.5779 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.6782, allocations: 38.53 kB / 0.578 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6782, allocations: 6.688 kB / 0.578 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6782, allocations: 1.375 kB / 0.578 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6782, allocations: 5.375 kB / 0.578 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.6785, allocations: 301 kB / 0.5783 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6785, allocations: 5.375 kB / 0.5783 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.6789, allocations: 64.94 kB / 0.5783 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007612/0.6797, allocations: 144.9 kB / 0.5785 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.6798, allocations: 19.3 kB / 0.5785 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.6819, allocations: 1.989 MB / 0.5804 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6819, allocations: 4.359 kB / 0.5804 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6831, allocations: 0.5701 MB / 0.581 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.6832, allocations: 92.75 kB / 0.5811 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.6832, allocations: 10.31 kB / 0.5811 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.6833, allocations: 14.42 kB / 0.5811 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.6834, allocations: 22.09 kB / 0.5811 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.6834, allocations: 10.31 kB / 0.5811 GB, free: 34.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.484e-05/0.6834, allocations: 81.72 kB / 0.5812 GB, free: 34.24 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6834, allocations: 0 / 0.5812 GB, free: 34.24 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003186/0.6838, allocations: 71.34 kB / 0.5813 GB, free: 34.23 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.001273/0.685, allocations: 1.131 MB / 0.5824 GB, free: 33.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.686, allocations: 0.4956 MB / 0.5829 GB, free: 33.1 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.686, allocations: 0.625 kB / 0.5829 GB, free: 33.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.6869, allocations: 333.9 kB / 0.5832 GB, free: 32.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6872, allocations: 14.56 kB / 0.5832 GB, free: 32.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.6922, allocations: 4.006 MB / 0.5871 GB, free: 29.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.6925, allocations: 0.7399 MB / 0.5879 GB, free: 29.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.6926, allocations: 68.69 kB / 0.5879 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.6927, allocations: 44.61 kB / 0.588 GB, free: 29.05 MB / 462.3 MB Notification: Performance of SimCode: time 4.71e-07/0.6927, allocations: 0 / 0.588 GB, free: 29.05 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.7095, allocations: 5.043 MB / 0.5929 GB, free: 24.9 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.7098, allocations: 290.9 kB / 0.5932 GB, free: 24.52 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.896, allocations: 0 / 0.5932 GB, free: 24.52 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches