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.0013/0.0013, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.00136/0.00136, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.431/1.431, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.135/1.135, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.84 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.561, allocations: 80.69 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002101/0.5632, allocations: 1.212 MB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.5634, allocations: 42.86 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.5634, allocations: 1.375 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.243e-05/0.5635, allocations: 0 / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.5636, allocations: 10.69 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.5637, allocations: 24.06 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.5639, allocations: 102.6 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.564, allocations: 2.219 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.564, allocations: 44.81 kB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.5641, allocations: 28.52 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.5641, allocations: 4.875 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.5641, allocations: 3.906 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.5642, allocations: 34.02 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.5643, allocations: 23.23 kB / 0.5713 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.5644, allocations: 58.11 kB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5644, allocations: 1.594 kB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5644, allocations: 3.938 kB / 0.5714 GB, free: 42.17 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.5644, allocations: 0 / 0.5714 GB, free: 42.17 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.0006002/0.565, allocations: 397.3 kB / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.565, allocations: 9.031 kB / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.5651, allocations: 42.08 kB / 0.5718 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.5651, allocations: 7.5 kB / 0.5718 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5652, allocations: 182.2 kB / 0.572 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.5653, allocations: 6.969 kB / 0.572 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.5653, allocations: 11.22 kB / 0.572 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5655, allocations: 86.28 kB / 0.5721 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5655, allocations: 5.469 kB / 0.5721 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5655, allocations: 8.938 kB / 0.5721 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5655, allocations: 1.312 kB / 0.5721 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.5656, allocations: 40.28 kB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.5658, allocations: 215.5 kB / 0.5724 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.5662, allocations: 136 kB / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.5663, allocations: 46.06 kB / 0.5725 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.5663, allocations: 1.188 kB / 0.5725 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.5663, allocations: 39.7 kB / 0.5726 GB, free: 41.05 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5663, allocations: 0 / 0.5726 GB, free: 41.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006979/0.567, allocations: 308.9 kB / 0.5729 GB, free: 40.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.567, allocations: 57.94 kB / 0.5729 GB, free: 40.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/0.5671, allocations: 102.1 kB / 0.573 GB, free: 40.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.5671, allocations: 29.7 kB / 0.5731 GB, free: 40.62 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.5671, allocations: 81.52 kB / 0.5731 GB, free: 40.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.5672, allocations: 57.28 kB / 0.5732 GB, free: 40.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.5672, allocations: 44.3 kB / 0.5732 GB, free: 40.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.5673, allocations: 324.9 kB / 0.5735 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.5674, allocations: 53.55 kB / 0.5736 GB, free: 40.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.5675, allocations: 82.38 kB / 0.5737 GB, free: 40.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.5677, allocations: 151.7 kB / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5677, allocations: 0 / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003882/0.5681, allocations: 233.5 kB / 0.574 GB, free: 39.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5681, allocations: 9.188 kB / 0.574 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5681, allocations: 2.094 kB / 0.574 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.5684, allocations: 61.66 kB / 0.5741 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.5685, allocations: 30.28 kB / 0.5741 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.5697, allocations: 1.583 MB / 0.5757 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.5698, allocations: 11.19 kB / 0.5757 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5698, allocations: 9.688 kB / 0.5757 GB, free: 38.23 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.5699, allocations: 131.5 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.5699, allocations: 3.031 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.5699, allocations: 13.31 kB / 0.5758 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5699, allocations: 5.578 kB / 0.5758 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5699, allocations: 1.188 kB / 0.5759 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5699, allocations: 0 / 0.5759 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5701, allocations: 215.8 kB / 0.5761 GB, free: 37.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5701, allocations: 0 / 0.5761 GB, free: 37.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.5703, allocations: 30.14 kB / 0.5761 GB, free: 37.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.5705, allocations: 56.86 kB / 0.5761 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.5706, allocations: 10.78 kB / 0.5761 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009963/0.5716, allocations: 1.581 MB / 0.5777 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5716, allocations: 0 / 0.5777 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.572, allocations: 261.7 kB / 0.5779 GB, free: 36.1 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.572, allocations: 87.39 kB / 0.578 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.572, allocations: 6.75 kB / 0.578 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.5721, allocations: 1.5 kB / 0.578 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.5721, allocations: 11.67 kB / 0.578 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5721, allocations: 6.844 kB / 0.5781 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.347e-05/0.5722, allocations: 81.83 kB / 0.5781 GB, free: 35.91 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5722, allocations: 0 / 0.5781 GB, free: 35.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002249/0.5724, allocations: 27.66 kB / 0.5782 GB, free: 35.9 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006175/0.573, allocations: 0.8005 MB / 0.5789 GB, free: 35.2 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.5735, allocations: 279.7 kB / 0.5792 GB, free: 35.01 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5735, allocations: 0 / 0.5792 GB, free: 35.01 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.5738, allocations: 187.8 kB / 0.5794 GB, free: 34.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.574, allocations: 17.02 kB / 0.5794 GB, free: 34.85 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.5763, allocations: 2.202 MB / 0.5816 GB, free: 32.99 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.5764, allocations: 0.706 MB / 0.5822 GB, free: 32.28 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.5765, allocations: 27.64 kB / 0.5823 GB, free: 32.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.5766, allocations: 19.56 kB / 0.5823 GB, free: 32.25 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5766, allocations: 0 / 0.5823 GB, free: 32.25 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.051/2.627, allocations: 2.792 MB / 0.585 GB, free: 30.89 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/12.64, allocations: 14.25 kB / 0.585 GB, free: 30.88 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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches