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.001559/0.001559, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001706/0.001706, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2165/0.2165, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0113/0.3412, allocations: 10.53 MB / 0.5287 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007407/0.3486, allocations: 3.198 MB / 0.5318 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.3506, allocations: 52.19 kB / 0.5319 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005236/0.3558, allocations: 2.366 MB / 0.5342 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.3599, allocations: 1.221 MB / 0.5354 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3615, allocations: 0.5076 MB / 0.5359 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.3667, allocations: 2.955 MB / 0.5388 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.3713, allocations: 3.025 MB / 0.5417 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3738, allocations: 1.276 MB / 0.543 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.3766, allocations: 1.733 MB / 0.5447 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.3774, allocations: 296 kB / 0.5449 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3795, allocations: 0.987 MB / 0.5459 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.3813, allocations: 1.601 MB / 0.5475 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.3842, allocations: 1.98 MB / 0.5494 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009744/0.394, allocations: 6.311 MB / 0.5556 GB, free: 5.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3941, allocations: 0 / 0.5556 GB, free: 5.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3941, allocations: 0 / 0.5556 GB, free: 5.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002066/0.3943, allocations: 0 / 0.5556 GB, free: 5.941 MB / 414.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.00968/0.404, allocations: 4.367 MB / 0.5598 GB, free: 1.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.4041, allocations: 8.031 kB / 0.5598 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001294/0.4054, allocations: 0.6952 MB / 0.5605 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/0.4117, allocations: 1.835 MB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.4154, allocations: 1.778 MB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.4156, allocations: 225.8 kB / 0.5643 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/0.4164, allocations: 303.8 kB / 0.5646 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.4371, allocations: 10.63 MB / 0.5749 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.4372, allocations: 35.7 kB / 0.575 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.4377, allocations: 147.9 kB / 0.5751 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003646/0.4414, allocations: 2.04 MB / 0.5771 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.4614, allocations: 9.332 MB / 0.5862 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/0.5117, allocations: 37.9 MB / 0.6232 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.523, allocations: 4.172 MB / 0.6273 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.5263, allocations: 2.316 MB / 0.6296 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009789/0.5361, allocations: 6.034 MB / 0.6355 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.5362, allocations: 55.81 kB / 0.6355 GB, free: 1.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.069e-06/0.5362, allocations: 0 / 0.6355 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06674/0.6029, allocations: 22.14 MB / 0.6571 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6031, allocations: 145.8 kB / 0.6573 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/0.6082, allocations: 3.395 MB / 0.6606 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/0.6087, allocations: 53.7 kB / 0.6606 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002372/0.6111, allocations: 2.916 MB / 0.6635 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.6122, allocations: 0.8334 MB / 0.6643 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.6141, allocations: 1.195 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6143, allocations: 309.1 kB / 0.6658 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/0.6182, allocations: 2.327 MB / 0.668 GB, free: 268 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007267/0.6255, allocations: 5.792 MB / 0.6737 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.638, allocations: 8.794 MB / 0.6823 GB, free: 14.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.616e-05/0.6381, allocations: 36 kB / 0.6823 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01884/0.657, allocations: 8.703 MB / 0.6908 GB, free: 5.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.6571, allocations: 56 kB / 0.6909 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/0.6573, allocations: 120 kB / 0.691 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.6606, allocations: 1.038 MB / 0.692 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/0.6657, allocations: 1.388 MB / 0.6933 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/0.6727, allocations: 5.817 MB / 0.699 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.677, allocations: 323.7 kB / 0.6993 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009882/0.6781, allocations: 356 kB / 0.6997 GB, free: 12.13 MB / 0.5606 GB 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.004008/0.6821, allocations: 1.939 MB / 0.7016 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007691/0.6829, allocations: 329.8 kB / 0.7019 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008277/0.6911, allocations: 3.936 MB / 0.7057 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-05/0.6912, allocations: 35.92 kB / 0.7058 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.6913, allocations: 7.984 kB / 0.7058 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.6913, allocations: 7.969 kB / 0.7058 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.7079, allocations: 8.811 MB / 0.7144 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.7079, allocations: 0 / 0.7144 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.7098, allocations: 343.5 kB / 0.7147 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.7125, allocations: 0.8734 MB / 0.7156 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/0.7129, allocations: 43.92 kB / 0.7156 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006118/0.719, allocations: 5.125 MB / 0.7206 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7191, allocations: 4.062 kB / 0.7206 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2769/0.996, allocations: 6.891 MB / 0.7273 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/0.9971, allocations: 370 kB / 0.7277 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/0.9978, allocations: 35.48 kB / 0.7277 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9993, allocations: 112.8 kB / 0.7278 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/0.9997, allocations: 120.1 kB / 0.728 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.9999, allocations: 59.11 kB / 0.728 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003305/1.003, allocations: 2.077 MB / 0.73 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/1.003, allocations: 0.6562 kB / 0.73 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004387/1.008, allocations: 0.9744 MB / 0.731 GB, free: 181.3 MB / 0.5762 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.01004/1.018, allocations: 7.545 MB / 0.7384 GB, free: 178 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009429/1.027, allocations: 6.145 MB / 0.7444 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.027, allocations: 0 / 0.7444 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.031, allocations: 2.481 MB / 0.7468 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.033, allocations: 350.9 kB / 0.7471 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04899/1.082, allocations: 44.17 MB / 0.7903 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.084, allocations: 3.033 MB / 0.7932 GB, free: 131 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003207/1.088, allocations: 1.853 MB / 0.795 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.089, allocations: 1.718 MB / 0.7967 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/1.089, allocations: 0 / 0.7967 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09545/1.185, allocations: 64.36 MB / 0.8596 GB, free: 63.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/20.37, allocations: 17.05 kB / 0.8596 GB, free: 63.48 MB / 0.5762 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