Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001284/0.001284, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001357/0.001357, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.411/1.411, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.0947, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1952/0.2898, allocations: 10.76 MB / 437.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.2962, allocations: 3.957 MB / 441 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2973, allocations: 73.22 kB / 441.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.3015, allocations: 2.609 MB / 443.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.3056, allocations: 1.773 MB / 445.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3073, allocations: 0.6824 MB / 446.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.3123, allocations: 3.717 MB / 449.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.3164, allocations: 2.971 MB / 452.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.3189, allocations: 1.489 MB / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.3218, allocations: 2.106 MB / 456.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006252/0.3225, allocations: 314 kB / 456.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.3247, allocations: 1.182 MB / 457.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.3264, allocations: 1.853 MB / 459.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.3288, allocations: 2.125 MB / 461.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007937/0.3368, allocations: 6.677 MB / 468.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3368, allocations: 0 / 468.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3368, allocations: 0 / 468.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001498/0.3369, allocations: 4 kB / 468.6 MB, free: 4.887 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.00922/0.3461, allocations: 4.676 MB / 473.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3462, allocations: 8.25 kB / 473.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001156/0.3473, allocations: 0.7249 MB / 474 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/0.3546, allocations: 1.971 MB / 476 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/0.3592, allocations: 2.236 MB / 478.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.3594, allocations: 246.2 kB / 478.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.3604, allocations: 399.7 kB / 478.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.379, allocations: 10.11 MB / 489 MB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.88e-05/0.3791, allocations: 35.69 kB / 489 MB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004612/0.3796, allocations: 155.9 kB / 489.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/0.3825, allocations: 1.849 MB / 491 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.4, allocations: 8.376 MB / 499.4 MB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04819/0.4482, allocations: 39.27 MB / 0.526 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.4597, allocations: 3.899 MB / 0.5298 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.4619, allocations: 1.337 MB / 0.5311 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.4741, allocations: 7.688 MB / 0.5387 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4741, allocations: 59.48 kB / 0.5387 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.5e-06/0.4741, allocations: 0 / 0.5387 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03638/0.5105, allocations: 12.7 MB / 0.5511 GB, free: 3.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001517/0.512, allocations: 1.687 MB / 0.5528 GB, free: 2.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.5178, allocations: 3.821 MB / 0.5565 GB, free: 14.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.5181, allocations: 45.7 kB / 0.5565 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.5206, allocations: 3.238 MB / 0.5597 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009087/0.5215, allocations: 0.6746 MB / 0.5603 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.5232, allocations: 1.262 MB / 0.5616 GB, free: 8.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5233, allocations: 309.1 kB / 0.5619 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.5265, allocations: 2.019 MB / 0.5638 GB, free: 6.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/0.5332, allocations: 5.961 MB / 0.5697 GB, free: 14.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.5444, allocations: 8.592 MB / 0.5781 GB, free: 4.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-05/0.5445, allocations: 40 kB / 0.5781 GB, free: 4.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01908/0.5635, allocations: 8.814 MB / 0.5867 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.5637, allocations: 64.94 kB / 0.5868 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006957/0.5706, allocations: 2.824 MB / 0.5895 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005631/0.5763, allocations: 1.553 MB / 0.591 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/0.5806, allocations: 1.361 MB / 0.5924 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.5948, allocations: 9.646 MB / 0.6018 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.5995, allocations: 395.5 kB / 0.6022 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.6006, allocations: 392 kB / 0.6025 GB, free: 10.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.00414/0.6047, allocations: 2.002 MB / 0.6045 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/0.6055, allocations: 349.6 kB / 0.6048 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.6067, allocations: 436.4 kB / 0.6052 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006725/0.6134, allocations: 2.71 MB / 0.6079 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.6134, allocations: 4 kB / 0.6079 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.6135, allocations: 11.91 kB / 0.6079 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2012/0.8147, allocations: 8.574 MB / 0.6163 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.8147, allocations: 1.156 kB / 0.6163 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/0.8156, allocations: 192.5 kB / 0.6165 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004981/0.8206, allocations: 1.454 MB / 0.6179 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.8209, allocations: 41.11 kB / 0.6179 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.8331, allocations: 9.823 MB / 0.6275 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007562/0.8339, allocations: 1.536 MB / 0.629 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/0.843, allocations: 5.364 MB / 0.6343 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/0.8439, allocations: 390.6 kB / 0.6346 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.8443, allocations: 31.91 kB / 0.6347 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.8455, allocations: 126.1 kB / 0.6348 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.8459, allocations: 112.6 kB / 0.6349 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.846, allocations: 46.06 kB / 0.6349 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003215/0.8492, allocations: 2.338 MB / 0.6372 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8492, allocations: 0 / 0.6372 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004691/0.8539, allocations: 1.052 MB / 0.6382 GB, free: 150 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008553/0.8625, allocations: 6.012 MB / 0.6441 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007945/0.8704, allocations: 5.539 MB / 0.6495 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8704, allocations: 0 / 0.6495 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.8745, allocations: 2.24 MB / 0.6517 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.8768, allocations: 401.5 kB / 0.6521 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05759/0.9344, allocations: 45.47 MB / 0.6965 GB, free: 97.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/0.9372, allocations: 3.125 MB / 0.6995 GB, free: 93.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003244/0.9404, allocations: 1.803 MB / 0.7013 GB, free: 92.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.9422, allocations: 1.761 MB / 0.703 GB, free: 90.31 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/0.9422, allocations: 0 / 0.703 GB, free: 90.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.053, allocations: 70.36 MB / 0.7717 GB, free: 20.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.84/24.89, allocations: 15.83 kB / 0.7718 GB, free: 20.43 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 28.202427800977603]