Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.86 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01176/0.2593, allocations: 9.04 MB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007855/0.2672, allocations: 3.688 MB / 443.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.2685, allocations: 63.69 kB / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.2729, allocations: 2.02 MB / 445.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.2773, allocations: 1.658 MB / 447.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.279, allocations: 0.6941 MB / 448.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.284, allocations: 3.389 MB / 451.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.2873, allocations: 2.225 MB / 453.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.2898, allocations: 1.269 MB / 455.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.2929, allocations: 1.896 MB / 457 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.2942, allocations: 264 kB / 457.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.2967, allocations: 1.026 MB / 458.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.2987, allocations: 1.601 MB / 459.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.3007, allocations: 1.367 MB / 461.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007341/0.308, allocations: 5.937 MB / 467.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.308, allocations: 0 / 467.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.308, allocations: 0 / 467.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001644/0.3082, allocations: 0 / 467.2 MB, free: 2.344 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.008277/0.3165, allocations: 4.157 MB / 471.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3165, allocations: 8.031 kB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008091/0.3173, allocations: 0.6452 MB / 472 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.3239, allocations: 1.882 MB / 473.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/0.3287, allocations: 2.056 MB / 476 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.3288, allocations: 205.2 kB / 476.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005723/0.3294, allocations: 275.8 kB / 476.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.3481, allocations: 10.05 MB / 486.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.3482, allocations: 35.69 kB / 486.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/0.3486, allocations: 131.9 kB / 486.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003208/0.3518, allocations: 1.852 MB / 488.5 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.3699, allocations: 8.555 MB / 497.1 MB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04435/0.4143, allocations: 35.44 MB / 0.52 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009888/0.4242, allocations: 3.095 MB / 0.523 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.4267, allocations: 1.693 MB / 0.5247 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.4385, allocations: 6.258 MB / 0.5308 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.4385, allocations: 51.44 kB / 0.5308 GB, free: 4.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.158e-06/0.4385, allocations: 0 / 0.5308 GB, free: 4.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2484/0.6869, allocations: 17.57 MB / 0.548 GB, free: 99.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.687, allocations: 146.6 kB / 0.5481 GB, free: 99.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.6905, allocations: 3.688 MB / 0.5517 GB, free: 96.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.6907, allocations: 45.7 kB / 0.5518 GB, free: 96.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.6918, allocations: 2.842 MB / 0.5546 GB, free: 94.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.6923, allocations: 0.6694 MB / 0.5552 GB, free: 93.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.6933, allocations: 1.123 MB / 0.5563 GB, free: 92.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.6933, allocations: 313.1 kB / 0.5566 GB, free: 92.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.6956, allocations: 1.951 MB / 0.5585 GB, free: 90.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.699, allocations: 5.377 MB / 0.5638 GB, free: 83.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/0.7056, allocations: 7.94 MB / 0.5715 GB, free: 73.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.93e-05/0.7057, allocations: 39.94 kB / 0.5716 GB, free: 73.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01302/0.7187, allocations: 8.175 MB / 0.5795 GB, free: 65.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.7187, allocations: 56 kB / 0.5796 GB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-05/0.7188, allocations: 120 kB / 0.5797 GB, free: 65.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/0.7223, allocations: 1.301 MB / 0.581 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.726, allocations: 1.263 MB / 0.5822 GB, free: 62.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/0.7333, allocations: 6.39 MB / 0.5885 GB, free: 56.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.7372, allocations: 307.6 kB / 0.5887 GB, free: 56.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008203/0.738, allocations: 343.7 kB / 0.5891 GB, free: 55.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * Array equations: 3 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002813/0.7408, allocations: 1.807 MB / 0.5908 GB, free: 53.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/0.7414, allocations: 321.8 kB / 0.5911 GB, free: 53.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006152/0.7476, allocations: 3.373 MB / 0.5944 GB, free: 50.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.7476, allocations: 16 kB / 0.5945 GB, free: 50.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.7476, allocations: 11.98 kB / 0.5945 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.7476, allocations: 3.984 kB / 0.5945 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.7612, allocations: 7.255 MB / 0.6016 GB, free: 42.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7612, allocations: 4 kB / 0.6016 GB, free: 42.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.7624, allocations: 247.6 kB / 0.6018 GB, free: 42.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/0.7656, allocations: 1.119 MB / 0.6029 GB, free: 41.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.7658, allocations: 24 kB / 0.6029 GB, free: 41.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/0.7725, allocations: 6.031 MB / 0.6088 GB, free: 35.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7725, allocations: 0 / 0.6088 GB, free: 35.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008072/0.7806, allocations: 5.753 MB / 0.6144 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.7813, allocations: 293.7 kB / 0.6147 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/0.7817, allocations: 24 kB / 0.6147 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.7829, allocations: 95.86 kB / 0.6148 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.7831, allocations: 92.77 kB / 0.6149 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.7832, allocations: 48.45 kB / 0.6149 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002429/0.7857, allocations: 2.15 MB / 0.617 GB, free: 26.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7857, allocations: 0 / 0.617 GB, free: 26.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003822/0.7895, allocations: 0.8944 MB / 0.6179 GB, free: 26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129): * Single equations (assignments): 125 * Array equations: 3 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008234/0.7977, allocations: 6.391 MB / 0.6242 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006613/0.8043, allocations: 4.606 MB / 0.6287 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.8043, allocations: 3.938 kB / 0.6287 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.8064, allocations: 1.449 MB / 0.6301 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.8087, allocations: 356.7 kB / 0.6304 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06249/0.8712, allocations: 41.32 MB / 0.6708 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/0.8745, allocations: 2.3 MB / 0.673 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00374/0.8782, allocations: 1.703 MB / 0.6747 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/0.8807, allocations: 1.581 MB / 0.6762 GB, free: 8.941 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.8807, allocations: 0 / 0.6762 GB, free: 8.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/1.2, allocations: 63.13 MB / 0.7379 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.99, allocations: 8.688 kB / 0.7379 GB, free: 187.4 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.62468577499385]