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.0009042/0.0009043, allocations: 91.86 kB / 16.31 MB, free: 5.547 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.000861/0.000861, allocations: 182.1 kB / 17.21 MB, free: 5.465 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.285/1.285, allocations: 223.2 MB / 241.2 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9222/0.9222, allocations: 120.5 MB / 412.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 8 kB / 0.4944 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4883, allocations: 82.84 MB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.000999/0.4894, allocations: 0.9342 MB / 0.5762 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.4895, allocations: 42.27 kB / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.4895, allocations: 5.125 kB / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.164e-05/0.4896, allocations: 0 / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.4897, allocations: 10.59 kB / 0.5762 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.4898, allocations: 20.34 kB / 0.5762 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.49, allocations: 108.9 kB / 0.5763 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.49, allocations: 5.344 kB / 0.5764 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.4901, allocations: 28.89 kB / 0.5764 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.4902, allocations: 42.84 kB / 0.5764 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.4902, allocations: 4.781 kB / 0.5764 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.4902, allocations: 4.75 kB / 0.5764 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.4903, allocations: 25.94 kB / 0.5765 GB, free: 41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.4903, allocations: 39.36 kB / 0.5765 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.581e-05/0.4904, allocations: 39.41 kB / 0.5765 GB, free: 40.94 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4904, allocations: 0 / 0.5765 GB, free: 40.94 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4904, allocations: 1.188 kB / 0.5765 GB, free: 40.94 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.4904, allocations: 0 / 0.5765 GB, free: 40.94 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.0004519/0.4908, allocations: 392.3 kB / 0.5769 GB, free: 40.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4909, allocations: 9.844 kB / 0.5769 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.4909, allocations: 40.67 kB / 0.577 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.4909, allocations: 7.859 kB / 0.577 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4911, allocations: 184.2 kB / 0.5771 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4911, allocations: 3.531 kB / 0.5771 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.4911, allocations: 13.84 kB / 0.5772 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4912, allocations: 89.89 kB / 0.5772 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4913, allocations: 6.141 kB / 0.5772 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4913, allocations: 0 / 0.5772 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4913, allocations: 5.016 kB / 0.5772 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.4914, allocations: 39.59 kB / 0.5773 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.4916, allocations: 209.5 kB / 0.5775 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4919, allocations: 134.1 kB / 0.5776 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.492, allocations: 49.08 kB / 0.5777 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.492, allocations: 5.625 kB / 0.5777 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.492, allocations: 32.25 kB / 0.5777 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.492, allocations: 0 / 0.5777 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006645/0.4927, allocations: 313.4 kB / 0.578 GB, free: 39.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.4927, allocations: 56.78 kB / 0.578 GB, free: 39.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.4928, allocations: 102 kB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.4928, allocations: 27.08 kB / 0.5782 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.489e-05/0.4928, allocations: 85.52 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4929, allocations: 48.77 kB / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.4929, allocations: 1.375 kB / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.4929, allocations: 320.2 kB / 0.5786 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.493, allocations: 48.84 kB / 0.5787 GB, free: 38.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.4931, allocations: 93.16 kB / 0.5787 GB, free: 38.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.4932, allocations: 68.09 kB / 0.5788 GB, free: 38.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4932, allocations: 0 / 0.5788 GB, free: 38.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003487/0.4936, allocations: 232 kB / 0.579 GB, free: 38.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.4936, allocations: 11.94 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4936, allocations: 1.375 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.4939, allocations: 60.42 kB / 0.5791 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.494, allocations: 39.64 kB / 0.5791 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.495, allocations: 1.469 MB / 0.5806 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.4951, allocations: 7.688 kB / 0.5806 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4951, allocations: 8.531 kB / 0.5806 GB, free: 37.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.4953, allocations: 124.2 kB / 0.5807 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.4953, allocations: 10.69 kB / 0.5807 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.4953, allocations: 16.88 kB / 0.5807 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4953, allocations: 5 kB / 0.5807 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4953, allocations: 5.797 kB / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4953, allocations: 0 / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.4955, allocations: 208.1 kB / 0.5809 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4955, allocations: 0 / 0.5809 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.4956, allocations: 30.48 kB / 0.581 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.4958, allocations: 63.7 kB / 0.581 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4959, allocations: 3.562 kB / 0.581 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009888/0.4969, allocations: 1.464 MB / 0.5825 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4969, allocations: 12.78 kB / 0.5825 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.4973, allocations: 253.7 kB / 0.5827 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.4973, allocations: 86.8 kB / 0.5828 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4973, allocations: 7.625 kB / 0.5828 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.4974, allocations: 4.906 kB / 0.5828 GB, free: 35.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4974, allocations: 8.609 kB / 0.5828 GB, free: 35.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4975, allocations: 2.75 kB / 0.5828 GB, free: 35.08 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.4975, allocations: 85.11 kB / 0.5829 GB, free: 35 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4975, allocations: 0 / 0.5829 GB, free: 35 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002207/0.4977, allocations: 27.97 kB / 0.5829 GB, free: 34.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006216/0.4984, allocations: 0.7888 MB / 0.5837 GB, free: 34.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.4988, allocations: 257.2 kB / 0.5839 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4988, allocations: 0 / 0.5839 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4991, allocations: 194.9 kB / 0.5841 GB, free: 33.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.4992, allocations: 11.55 kB / 0.5841 GB, free: 33.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5007, allocations: 1.334 MB / 0.5854 GB, free: 32.9 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.5008, allocations: 0.7018 MB / 0.5861 GB, free: 32.19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.5009, allocations: 36.75 kB / 0.5862 GB, free: 32.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.5009, allocations: 23.25 kB / 0.5862 GB, free: 32.15 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.5009, allocations: 0 / 0.5862 GB, free: 32.15 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.514, allocations: 2.546 MB / 0.5887 GB, free: 31.04 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.5142, allocations: 260.5 kB / 0.5889 GB, free: 30.69 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.216, allocations: 0 / 0.5889 GB, free: 30.69 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat does not exist to compare? outputFormat=mat