Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009128, allocations: 89.08 kB / 16.31 MB, free: 6.449 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.0009132/0.0009134, allocations: 184.9 kB / 17.21 MB, free: 6.316 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.336/1.336, allocations: 223.2 MB / 241.2 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.072/1.072, allocations: 120.5 MB / 412.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 4 kB / 0.4943 GB, free: 11.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6084, allocations: 82.84 MB / 0.5752 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001302/0.6098, allocations: 0.9306 MB / 0.5761 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.61, allocations: 46.41 kB / 0.5761 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.61, allocations: 0 / 0.5761 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.6101, allocations: 9.141 kB / 0.5761 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.6102, allocations: 9.844 kB / 0.5761 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.6104, allocations: 21.12 kB / 0.5761 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.6105, allocations: 108 kB / 0.5762 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.6106, allocations: 2.25 kB / 0.5762 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.6107, allocations: 40.52 kB / 0.5763 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.6108, allocations: 31.69 kB / 0.5763 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.6108, allocations: 4.812 kB / 0.5763 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.6108, allocations: 3.906 kB / 0.5763 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.6109, allocations: 33.44 kB / 0.5764 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.6109, allocations: 35.39 kB / 0.5764 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.611, allocations: 32.36 kB / 0.5764 GB, free: 40.87 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.611, allocations: 7.938 kB / 0.5764 GB, free: 40.86 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.284e-06/0.611, allocations: 0 / 0.5764 GB, free: 40.86 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.611, allocations: 0 / 0.5764 GB, free: 40.86 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.0006093/0.6117, allocations: 389.4 kB / 0.5768 GB, free: 40.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6117, allocations: 16.3 kB / 0.5768 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.6118, allocations: 7.484 kB / 0.5768 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.6119, allocations: 181.2 kB / 0.577 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.612, allocations: 7.062 kB / 0.577 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.612, allocations: 10.16 kB / 0.577 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.6122, allocations: 89.7 kB / 0.5771 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6122, allocations: 1.438 kB / 0.5771 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6122, allocations: 0 / 0.5771 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6123, allocations: 2.469 kB / 0.5771 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.6124, allocations: 47.22 kB / 0.5771 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.6126, allocations: 208.2 kB / 0.5773 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.613, allocations: 139.3 kB / 0.5775 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.6131, allocations: 49.58 kB / 0.5775 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.6131, allocations: 1.375 kB / 0.5775 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.6131, allocations: 31.94 kB / 0.5776 GB, free: 39.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.6132, allocations: 0 / 0.5776 GB, free: 39.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007522/0.6139, allocations: 316.6 kB / 0.5779 GB, free: 39.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.6139, allocations: 52.78 kB / 0.5779 GB, free: 39.49 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.614, allocations: 103.3 kB / 0.578 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.614, allocations: 29.7 kB / 0.578 GB, free: 39.35 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.6141, allocations: 81.52 kB / 0.5781 GB, free: 39.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.6141, allocations: 54.14 kB / 0.5782 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.6141, allocations: 0 / 0.5782 GB, free: 39.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.6142, allocations: 321.6 kB / 0.5785 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.6143, allocations: 48.84 kB / 0.5785 GB, free: 38.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.6144, allocations: 87.83 kB / 0.5786 GB, free: 38.82 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.6145, allocations: 75.55 kB / 0.5787 GB, free: 38.78 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6145, allocations: 1.344 kB / 0.5787 GB, free: 38.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004025/0.6149, allocations: 223 kB / 0.5789 GB, free: 38.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.615, allocations: 8.812 kB / 0.5789 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.615, allocations: 5.156 kB / 0.5789 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.6153, allocations: 57.89 kB / 0.579 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6154, allocations: 34.36 kB / 0.579 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.6165, allocations: 1.477 MB / 0.5804 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.6165, allocations: 6.75 kB / 0.5804 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.6166, allocations: 9.562 kB / 0.5804 GB, free: 37.17 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 8.443e-05/0.6166, allocations: 127.3 kB / 0.5806 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.6167, allocations: 6.656 kB / 0.5806 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.6167, allocations: 17.28 kB / 0.5806 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6167, allocations: 5.375 kB / 0.5806 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6167, allocations: 5.328 kB / 0.5806 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6167, allocations: 0 / 0.5806 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.6169, allocations: 207.8 kB / 0.5808 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6169, allocations: 4 kB / 0.5808 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.617, allocations: 33.92 kB / 0.5808 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.6173, allocations: 56.42 kB / 0.5809 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.6173, allocations: 2.75 kB / 0.5809 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.6185, allocations: 1.469 MB / 0.5823 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6185, allocations: 4.016 kB / 0.5823 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.619, allocations: 257.6 kB / 0.5826 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.619, allocations: 90.78 kB / 0.5827 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.6191, allocations: 7.688 kB / 0.5827 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.6191, allocations: 0.9062 kB / 0.5827 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.6192, allocations: 12.61 kB / 0.5827 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6192, allocations: 6.781 kB / 0.5827 GB, free: 35.04 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.6192, allocations: 81.08 kB / 0.5828 GB, free: 34.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6192, allocations: 0.9375 kB / 0.5828 GB, free: 34.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002646/0.6195, allocations: 27.06 kB / 0.5828 GB, free: 34.95 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.0001332/0.6196, allocations: 102.9 kB / 0.5829 GB, free: 34.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.6202, allocations: 259.7 kB / 0.5831 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6202, allocations: 0 / 0.5831 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.6205, allocations: 192 kB / 0.5833 GB, free: 34.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.6207, allocations: 5.844 kB / 0.5833 GB, free: 34.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.6217, allocations: 0.7895 MB / 0.5841 GB, free: 33.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.6218, allocations: 0.7032 MB / 0.5848 GB, free: 33.15 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.6219, allocations: 29.3 kB / 0.5848 GB, free: 33.14 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.6219, allocations: 11.03 kB / 0.5848 GB, free: 33.14 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.622, allocations: 4 kB / 0.5848 GB, free: 33.13 MB / 462.3 MB Notification: Performance of Templates: time 0.004355/0.6263, allocations: 1.236 MB / 0.586 GB, free: 32.54 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches