Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 120.6 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 185.2 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8284/0.8284, allocations: 120.6 MB / 424.6 MB, free: 5.629 MB / 350.1 MB " [Timeout remaining time 179] 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 0.5937 GB, free: 2.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.632, allocations: 84.64 MB / 0.6763 GB, free: 16.73 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002229/0.6342, allocations: 1.21 MB / 0.6775 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001944/0.6344, allocations: 37.5 kB / 0.6776 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.6344, allocations: 3.938 kB / 0.6776 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.6345, allocations: 1.375 kB / 0.6776 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.6346, allocations: 13.36 kB / 0.6776 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.6347, allocations: 20.03 kB / 0.6776 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.6349, allocations: 66.3 kB / 0.6777 GB, free: 15.68 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.6349, allocations: 10.69 kB / 0.6777 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.635, allocations: 17.73 kB / 0.6777 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.635, allocations: 34.89 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.635, allocations: 2.75 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.6351, allocations: 2.75 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.6351, allocations: 14.86 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.6351, allocations: 23.89 kB / 0.6778 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.072e-05/0.6352, allocations: 43.39 kB / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6352, allocations: 0 / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6352, allocations: 0 / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6352, allocations: 0 / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004755/0.6357, allocations: 368 kB / 0.6782 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6357, allocations: 13.11 kB / 0.6782 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.6358, allocations: 8.766 kB / 0.6782 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.6359, allocations: 179.2 kB / 0.6784 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.6359, allocations: 10.58 kB / 0.6784 GB, free: 15 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.636, allocations: 10.81 kB / 0.6784 GB, free: 15 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.6361, allocations: 68.31 kB / 0.6784 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6361, allocations: 1.5 kB / 0.6784 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6361, allocations: 5.25 kB / 0.6784 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6361, allocations: 0 / 0.6784 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.6362, allocations: 33.75 kB / 0.6785 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.6364, allocations: 182 kB / 0.6787 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.6366, allocations: 78.38 kB / 0.6787 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.6366, allocations: 30.19 kB / 0.6788 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.6366, allocations: 1.219 kB / 0.6788 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.6366, allocations: 35.47 kB / 0.6788 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.6366, allocations: 1.094 kB / 0.6788 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002486/0.6369, allocations: 110.3 kB / 0.6789 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.6369, allocations: 57.62 kB / 0.679 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.637, allocations: 106.1 kB / 0.6791 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.637, allocations: 25.7 kB / 0.6791 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.637, allocations: 86.08 kB / 0.6792 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.637, allocations: 39.36 kB / 0.6792 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6371, allocations: 38.73 kB / 0.6792 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.6372, allocations: 315.9 kB / 0.6795 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.6372, allocations: 41.25 kB / 0.6796 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.6373, allocations: 80.8 kB / 0.6797 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.6375, allocations: 121.4 kB / 0.6798 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6375, allocations: 1.25 kB / 0.6798 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001975/0.6377, allocations: 148.9 kB / 0.6799 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6377, allocations: 8.938 kB / 0.6799 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6377, allocations: 6.719 kB / 0.6799 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6377, allocations: 1.406 kB / 0.6799 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.6379, allocations: 30.95 kB / 0.68 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6379, allocations: 2.75 kB / 0.68 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.6379, allocations: 10.64 kB / 0.68 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.638, allocations: 7.969 kB / 0.68 GB, free: 13.57 MB / 0.5139 GB 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.638, allocations: 127.4 kB / 0.6801 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.638, allocations: 9.266 kB / 0.6801 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.6381, allocations: 9.344 kB / 0.6801 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6381, allocations: 1.375 kB / 0.6801 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6381, allocations: 0 / 0.6801 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6381, allocations: 0 / 0.6801 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.6382, allocations: 178.1 kB / 0.6803 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6382, allocations: 1.375 kB / 0.6803 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.6384, allocations: 29.98 kB / 0.6803 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6384, allocations: 9.312 kB / 0.6803 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.6384, allocations: 6.75 kB / 0.6803 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6384, allocations: 0 / 0.6803 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6384, allocations: 1.375 kB / 0.6803 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.6386, allocations: 145.3 kB / 0.6805 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.6386, allocations: 90.36 kB / 0.6806 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.6386, allocations: 6.75 kB / 0.6806 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.6387, allocations: 1.375 kB / 0.6806 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.6387, allocations: 10.73 kB / 0.6806 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6387, allocations: 2.75 kB / 0.6806 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.6387, allocations: 76.66 kB / 0.6807 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.6387, allocations: 3.938 kB / 0.6807 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002021/0.6389, allocations: 17.75 kB / 0.6807 GB, free: 12.89 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.132e-05/0.639, allocations: 108.2 kB / 0.6808 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.6392, allocations: 77.39 kB / 0.6808 GB, free: 12.77 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6392, allocations: 4.25 kB / 0.6809 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.6393, allocations: 36.55 kB / 0.6809 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.6394, allocations: 10.69 kB / 0.6809 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.6403, allocations: 0.6244 MB / 0.6815 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.6404, allocations: 0.6958 MB / 0.6822 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.72e-05/0.6405, allocations: 33.16 kB / 0.6822 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.6405, allocations: 11.12 kB / 0.6822 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of SimCode: time 2.5e-07/0.6405, allocations: 0 / 0.6822 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of Templates: time 0.003265/0.6438, allocations: 0.6742 MB / 0.6829 GB, free: 11.16 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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: 6.218076842371374]