Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.001212/0.001212, allocations: 100 kB / 17.63 MB, free: 5.523 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.001266/0.001266, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.369/1.369, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.18 MB / 336.6 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 60.28 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1448, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01188/0.1567, allocations: 10.53 MB / 479.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007802/0.1645, allocations: 3.209 MB / 483.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.1669, allocations: 51.88 kB / 483.1 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00482/0.1717, allocations: 2.367 MB / 485.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.176, allocations: 1.221 MB / 486.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.178, allocations: 0.5068 MB / 487.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.1839, allocations: 2.946 MB / 490.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006632/0.1906, allocations: 3.029 MB / 493.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.194, allocations: 1.265 MB / 494.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/0.1984, allocations: 1.729 MB / 496.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.2, allocations: 292 kB / 496.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.2041, allocations: 0.9986 MB / 497.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.2076, allocations: 1.601 MB / 499.1 MB, free: 412 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.2119, allocations: 1.977 MB / 0.4893 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007524/0.2195, allocations: 6.043 MB / 0.4952 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2195, allocations: 3.984 kB / 0.4952 GB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2195, allocations: 0 / 0.4952 GB, free: 8.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00022/0.2197, allocations: 0 / 0.4952 GB, free: 8.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01019/0.2299, allocations: 4.253 MB / 0.4994 GB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.23, allocations: 8.031 kB / 0.4994 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002128/0.2321, allocations: 0.6952 MB / 0.5001 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/0.2392, allocations: 1.813 MB / 0.5018 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.235/0.4743, allocations: 1.741 MB / 0.5035 GB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.4747, allocations: 230.1 kB / 0.5038 GB, free: 45.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.4768, allocations: 303.3 kB / 0.504 GB, free: 45.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.5091, allocations: 10.62 MB / 0.5144 GB, free: 41.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/0.5094, allocations: 37.66 kB / 0.5145 GB, free: 41.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/0.5103, allocations: 151.5 kB / 0.5146 GB, free: 41.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003574/0.5139, allocations: 2.038 MB / 0.5166 GB, free: 40.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.5321, allocations: 9.322 MB / 0.5257 GB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/0.5723, allocations: 38.02 MB / 0.5628 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.5834, allocations: 4.164 MB / 0.5669 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.5862, allocations: 2.305 MB / 0.5691 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00821/0.5944, allocations: 6.022 MB / 0.575 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.5945, allocations: 47.88 kB / 0.5751 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 4.9e-06/0.5945, allocations: 0 / 0.5751 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.07161/0.6661, allocations: 21.96 MB / 0.5965 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6663, allocations: 153.7 kB / 0.5967 GB, free: 10.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004744/0.671, allocations: 3.382 MB / 0.6 GB, free: 6.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004589/0.6715, allocations: 61.61 kB / 0.6 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001972/0.6735, allocations: 2.794 MB / 0.6027 GB, free: 3.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.6747, allocations: 0.7942 MB / 0.6035 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.6765, allocations: 1.19 MB / 0.6047 GB, free: 1.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6766, allocations: 305.1 kB / 0.605 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/0.6807, allocations: 2.327 MB / 0.6072 GB, free: 15.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007029/0.6878, allocations: 5.781 MB / 0.6129 GB, free: 7.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.6995, allocations: 8.812 MB / 0.6215 GB, free: 13.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/0.6996, allocations: 36 kB / 0.6215 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01661/0.7163, allocations: 8.678 MB / 0.63 GB, free: 4.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.7164, allocations: 56.19 kB / 0.6301 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/0.7166, allocations: 128 kB / 0.6302 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.7195, allocations: 1.041 MB / 0.6312 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/0.7242, allocations: 1.377 MB / 0.6325 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.7301, allocations: 5.816 MB / 0.6382 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/0.7346, allocations: 335.5 kB / 0.6385 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/0.7353, allocations: 356 kB / 0.6389 GB, free: 11.19 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003432/0.7388, allocations: 1.943 MB / 0.6408 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.7394, allocations: 308 kB / 0.6411 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/0.7469, allocations: 3.936 MB / 0.6449 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/0.747, allocations: 24.19 kB / 0.6449 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.747, allocations: 8 kB / 0.6449 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.747, allocations: 15.89 kB / 0.645 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.7626, allocations: 8.883 MB / 0.6536 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.7627, allocations: 4 kB / 0.6536 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.7644, allocations: 351.5 kB / 0.654 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.7669, allocations: 0.8656 MB / 0.6548 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.7671, allocations: 39.98 kB / 0.6549 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.7722, allocations: 5.089 MB / 0.6598 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7722, allocations: 0 / 0.6598 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009914/0.7821, allocations: 6.868 MB / 0.6665 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.7829, allocations: 356.9 kB / 0.6669 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.7833, allocations: 40.06 kB / 0.6669 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.7847, allocations: 115.8 kB / 0.667 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.785, allocations: 121.1 kB / 0.6671 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.7852, allocations: 59.92 kB / 0.6672 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00277/0.788, allocations: 2.081 MB / 0.6692 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.788, allocations: 0 / 0.6692 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004359/0.7923, allocations: 0.9662 MB / 0.6702 GB, free: 10.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01049/0.8029, allocations: 7.53 MB / 0.6775 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01367/0.8165, allocations: 7.844 MB / 0.6852 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.8166, allocations: 0 / 0.6852 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.8212, allocations: 2.464 MB / 0.6876 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8236, allocations: 349.9 kB / 0.6879 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3246/1.148, allocations: 48.42 MB / 0.7352 GB, free: 144 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004285/1.153, allocations: 3.027 MB / 0.7382 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005168/1.158, allocations: 1.863 MB / 0.74 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/1.161, allocations: 1.71 MB / 0.7417 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/1.161, allocations: 0 / 0.7417 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/1.259, allocations: 67.91 MB / 0.808 GB, free: 74.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.78, allocations: 18.8 kB / 0.808 GB, free: 74.14 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches