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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8322/0.8322, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6255/0.6255, allocations: 88.07 MB / 348.8 MB, free: 14.38 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5231 GB, free: 4.016 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.495e-05, allocations: 3.828 kB / 0.5231 GB, free: 4.012 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001574/0.001599, allocations: 1.245 MB / 0.5243 GB, free: 2.762 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.001784, allocations: 48.09 kB / 0.5243 GB, free: 2.715 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.001819, allocations: 0 / 0.5243 GB, free: 2.715 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.956e-05/0.001898, allocations: 3.984 kB / 0.5243 GB, free: 2.711 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.001959, allocations: 11.88 kB / 0.5243 GB, free: 2.699 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.002106, allocations: 27.94 kB / 0.5244 GB, free: 2.672 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.00229, allocations: 231.6 kB / 0.5246 GB, free: 2.445 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.002331, allocations: 4 kB / 0.5246 GB, free: 2.441 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.002418, allocations: 103.9 kB / 0.5247 GB, free: 2.34 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.002514, allocations: 75.81 kB / 0.5248 GB, free: 2.266 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.002541, allocations: 15.98 kB / 0.5248 GB, free: 2.25 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.002559, allocations: 12 kB / 0.5248 GB, free: 2.238 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.002619, allocations: 67.84 kB / 0.5248 GB, free: 2.172 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.00267, allocations: 59.88 kB / 0.5249 GB, free: 2.113 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002776, allocations: 119.6 kB / 0.525 GB, free: 1.996 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002779, allocations: 0 / 0.525 GB, free: 1.996 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00278, allocations: 0 / 0.525 GB, free: 1.996 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002784, allocations: 3.938 kB / 0.525 GB, free: 1.992 MB / 442.8 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.0005926/0.003376, allocations: 465.8 kB / 0.5255 GB, free: 1.504 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.003416, allocations: 16.03 kB / 0.5255 GB, free: 1.488 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.003456, allocations: 46.73 kB / 0.5255 GB, free: 1.434 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.003485, allocations: 12.89 kB / 0.5255 GB, free: 1.422 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.00363, allocations: 145.6 kB / 0.5257 GB, free: 1.254 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.003644, allocations: 12.38 kB / 0.5257 GB, free: 1.242 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.003682, allocations: 32.33 kB / 0.5257 GB, free: 1.211 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.003903, allocations: 178.6 kB / 0.5259 GB, free: 1.031 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.003917, allocations: 8.125 kB / 0.5259 GB, free: 1.023 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.00393, allocations: 8.312 kB / 0.5259 GB, free: 1.016 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.003936, allocations: 8.125 kB / 0.5259 GB, free: 1.008 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.004064, allocations: 107.9 kB / 0.526 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.004313, allocations: 272.5 kB / 0.5263 GB, free: 0.5938 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.004683, allocations: 262.6 kB / 0.5265 GB, free: 336 kB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.004798, allocations: 108.8 kB / 0.5266 GB, free: 224 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004814, allocations: 0 / 0.5266 GB, free: 224 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004833, allocations: 38.56 kB / 0.5267 GB, free: 176 kB / 442.8 MB Notification: Performance of pre-optimization done (n=30): time 8.72e-07/0.004834, allocations: 3.938 kB / 0.5267 GB, free: 172 kB / 442.8 MB Notification: Performance of matching and sorting (n=30): time 0.0009259/0.00576, allocations: 0.5423 MB / 0.5272 GB, free: 15.62 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.005788, allocations: 55.41 kB / 0.5273 GB, free: 15.55 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.005836, allocations: 109.9 kB / 0.5274 GB, free: 15.43 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.005853, allocations: 29.7 kB / 0.5274 GB, free: 15.4 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.005882, allocations: 88.8 kB / 0.5275 GB, free: 15.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.005954, allocations: 126.9 kB / 0.5276 GB, free: 15.18 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.006022, allocations: 86.19 kB / 0.5277 GB, free: 15.09 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.006098, allocations: 330.8 kB / 0.528 GB, free: 14.75 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.006225, allocations: 128.9 kB / 0.5281 GB, free: 14.63 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.006387, allocations: 210.3 kB / 0.5283 GB, free: 14.39 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.006705, allocations: 374.2 kB / 0.5287 GB, free: 13.99 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.006708, allocations: 0 / 0.5287 GB, free: 13.99 MB / 458.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005583/0.007266, allocations: 0.5175 MB / 0.5292 GB, free: 13.46 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.00728, allocations: 4 kB / 0.5292 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007285, allocations: 4.047 kB / 0.5292 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.007632, allocations: 156.6 kB / 0.5293 GB, free: 13.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.007776, allocations: 79.91 kB / 0.5294 GB, free: 13.22 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.009284, allocations: 2.037 MB / 0.5314 GB, free: 11.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.009355, allocations: 31.78 kB / 0.5314 GB, free: 11.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.00937, allocations: 16 kB / 0.5314 GB, free: 11.03 MB / 458.8 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 9.454e-05/0.009465, allocations: 137.7 kB / 0.5316 GB, free: 10.88 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.00948, allocations: 16.02 kB / 0.5316 GB, free: 10.87 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.009518, allocations: 37.25 kB / 0.5316 GB, free: 10.84 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.00952, allocations: 4 kB / 0.5316 GB, free: 10.83 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.009525, allocations: 3.938 kB / 0.5316 GB, free: 10.83 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.009529, allocations: 3.984 kB / 0.5316 GB, free: 10.82 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.009724, allocations: 264.5 kB / 0.5319 GB, free: 10.52 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009726, allocations: 4 kB / 0.5319 GB, free: 10.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.009926, allocations: 63.97 kB / 0.532 GB, free: 10.46 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.01022, allocations: 148.9 kB / 0.5321 GB, free: 10.31 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.01024, allocations: 23.92 kB / 0.5321 GB, free: 10.29 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.01158, allocations: 2.033 MB / 0.5341 GB, free: 8.129 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01158, allocations: 0 / 0.5341 GB, free: 8.129 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.01233, allocations: 0.5631 MB / 0.5347 GB, free: 7.547 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.01234, allocations: 12.06 kB / 0.5347 GB, free: 7.535 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.01237, allocations: 19.97 kB / 0.5347 GB, free: 7.516 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.01242, allocations: 11.94 kB / 0.5347 GB, free: 7.504 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.01245, allocations: 23.95 kB / 0.5347 GB, free: 7.48 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.01246, allocations: 4 kB / 0.5347 GB, free: 7.477 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.01249, allocations: 87.27 kB / 0.5348 GB, free: 7.391 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01249, allocations: 0 / 0.5348 GB, free: 7.391 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002085/0.01269, allocations: 72 kB / 0.5349 GB, free: 7.32 MB / 458.8 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.0007888/0.01348, allocations: 1.12 MB / 0.536 GB, free: 6.168 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.01402, allocations: 482.3 kB / 0.5364 GB, free: 5.684 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01402, allocations: 0.625 kB / 0.5364 GB, free: 5.684 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.01431, allocations: 318.4 kB / 0.5367 GB, free: 5.359 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.01444, allocations: 14.97 kB / 0.5367 GB, free: 5.348 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.0179, allocations: 3.579 MB / 0.5402 GB, free: 1.609 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.01798, allocations: 139.2 kB / 0.5404 GB, free: 1.457 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 7.577e-05/0.01806, allocations: 65.88 kB / 0.5404 GB, free: 1.391 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01811, allocations: 48.48 kB / 0.5405 GB, free: 1.344 MB / 458.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01811, allocations: 0 / 0.5405 GB, free: 1.344 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.03698, allocations: 5.971 MB / 0.5463 GB, free: 11.59 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.692, allocations: 4 kB / 0.5463 GB, free: 11.59 MB / 474.8 MB " [Timeout remaining time 293] (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 --stepSize=0.004 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.347403383813798]