Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 105.5 kB / 18.39 MB, free: 4.703 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.001158/0.001158, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08758, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1799/0.2676, allocations: 10.75 MB / 386.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009411/0.277, allocations: 3.92 MB / 390.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.28, allocations: 61.56 kB / 390.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/0.2859, allocations: 2.584 MB / 393.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.2918, allocations: 1.752 MB / 394.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.294, allocations: 0.6907 MB / 395.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006587/0.3006, allocations: 3.689 MB / 399.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.3059, allocations: 3.571 MB / 402.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.3094, allocations: 1.482 MB / 404.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.3134, allocations: 1.957 MB / 406.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.3148, allocations: 314.6 kB / 406.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.3183, allocations: 1.155 MB / 407.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002705/0.321, allocations: 1.834 MB / 409.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003918/0.325, allocations: 2.149 MB / 411.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3352, allocations: 6.69 MB / 418.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3352, allocations: 0 / 418.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3352, allocations: 4 kB / 418.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002565/0.3355, allocations: 0 / 418.4 MB, free: 4.828 MB / 334.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.01123/0.3467, allocations: 4.57 MB / 423 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.3468, allocations: 12.03 kB / 423 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.3538, allocations: 1.875 MB / 424.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.3587, allocations: 2.081 MB / 427 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.359, allocations: 250.2 kB / 427.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.3603, allocations: 395.6 kB / 427.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.379, allocations: 10.06 MB / 437.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.3792, allocations: 39.62 kB / 437.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/0.3797, allocations: 159.8 kB / 437.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.3826, allocations: 1.857 MB / 439.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.4002, allocations: 8.32 MB / 448 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/0.4521, allocations: 39.24 MB / 487.3 MB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.463, allocations: 4 MB / 491.3 MB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.4652, allocations: 1.424 MB / 492.7 MB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4766, allocations: 7.63 MB / 0.4886 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.4767, allocations: 51.56 kB / 0.4886 GB, free: 236 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 5.36e-06/0.4768, allocations: 0 / 0.4886 GB, free: 236 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03575/0.5125, allocations: 12.4 MB / 0.5008 GB, free: 3.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001518/0.5141, allocations: 1.683 MB / 0.5024 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008244/0.5223, allocations: 3.828 MB / 0.5061 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004782/0.5229, allocations: 45.7 kB / 0.5062 GB, free: 13.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003052/0.5259, allocations: 3.107 MB / 0.5092 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.5272, allocations: 0.6482 MB / 0.5098 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003101/0.5303, allocations: 1.257 MB / 0.5111 GB, free: 8.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5305, allocations: 309.1 kB / 0.5114 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/0.5338, allocations: 2.03 MB / 0.5133 GB, free: 6.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006278/0.5401, allocations: 5.965 MB / 0.5192 GB, free: 14.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.5512, allocations: 8.627 MB / 0.5276 GB, free: 3.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.5513, allocations: 40 kB / 0.5276 GB, free: 3.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02487/0.5762, allocations: 9.734 MB / 0.5371 GB, free: 10.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.5765, allocations: 64 kB / 0.5372 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01251/0.589, allocations: 3.745 MB / 0.5409 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/0.601, allocations: 2.61 MB / 0.5434 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/0.6056, allocations: 1.368 MB / 0.5447 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2392/0.8448, allocations: 7.705 MB / 0.5523 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/0.8508, allocations: 401.2 kB / 0.5527 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/0.8519, allocations: 387.6 kB / 0.553 GB, free: 140.4 MB / 478.1 MB 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 (742): * Single equations (assignments): 732 * 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 {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.004621/0.8566, allocations: 2.012 MB / 0.555 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007559/0.8573, allocations: 328.2 kB / 0.5553 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00766/0.865, allocations: 3.129 MB / 0.5584 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006301/0.8713, allocations: 2.685 MB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.8714, allocations: 2.75 kB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/0.8714, allocations: 14.88 kB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.8884, allocations: 8.548 MB / 0.5693 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.8884, allocations: 0.8438 kB / 0.5693 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009271/0.8894, allocations: 191.8 kB / 0.5695 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004373/0.8937, allocations: 1.428 MB / 0.5709 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/0.8941, allocations: 43.56 kB / 0.571 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.8998, allocations: 6.008 MB / 0.5768 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007216/0.9006, allocations: 1.542 MB / 0.5783 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007962/0.9086, allocations: 5.319 MB / 0.5835 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009665/0.9096, allocations: 373.5 kB / 0.5839 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.9099, allocations: 34.97 kB / 0.5839 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.9112, allocations: 116.6 kB / 0.584 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.9115, allocations: 94.03 kB / 0.5841 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.9116, allocations: 41.19 kB / 0.5842 GB, free: 127.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003186/0.9148, allocations: 2.354 MB / 0.5865 GB, free: 126.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9148, allocations: 0 / 0.5865 GB, free: 126.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004843/0.9196, allocations: 1.031 MB / 0.5875 GB, free: 126.6 MB / 478.1 MB 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.0004336/0.9201, allocations: 165.4 kB / 0.5876 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007679/0.9278, allocations: 5.512 MB / 0.593 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9278, allocations: 4 kB / 0.593 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/0.9311, allocations: 2.04 MB / 0.595 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.9334, allocations: 397.2 kB / 0.5954 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.9473, allocations: 9.402 MB / 0.6046 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.95, allocations: 3.111 MB / 0.6076 GB, free: 108.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008705/0.9509, allocations: 267.4 kB / 0.6079 GB, free: 108.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.103e-06/0.9509, allocations: 0 / 0.6079 GB, free: 108.2 MB / 478.1 MB Notification: Performance of Templates: time 0.3417/1.293, allocations: 144.6 MB / 0.7491 GB, free: 151.9 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches