Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 105.7 kB / 18.4 MB, free: 4.672 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.001008/0.001008, allocations: 187 kB / 19.34 MB, free: 3.742 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.23/1.23, 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.001213/0.001213, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07436/0.07558, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1538/0.2294, allocations: 10.48 MB / 386.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.236, allocations: 3.813 MB / 390.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.2375, allocations: 61.78 kB / 390.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.2417, allocations: 2.316 MB / 392.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.2454, allocations: 1.728 MB / 394.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2466, allocations: 0.608 MB / 394.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.2506, allocations: 3.46 MB / 398.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.2533, allocations: 3.03 MB / 401.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.2547, allocations: 1.365 MB / 402.7 MB, free: 236 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.2566, allocations: 1.808 MB / 404.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.2571, allocations: 292.2 kB / 404.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.259, allocations: 1.148 MB / 405.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.2604, allocations: 1.703 MB / 407.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.2621, allocations: 1.965 MB / 409.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.2675, allocations: 6.262 MB / 415.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2675, allocations: 0 / 415.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2675, allocations: 0 / 415.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.371e-05/0.2676, allocations: 0 / 415.9 MB, free: 7.566 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.00618/0.2738, allocations: 4.352 MB / 420.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2738, allocations: 8.031 kB / 420.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/0.2797, allocations: 1.851 MB / 422.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.2828, allocations: 2.109 MB / 424.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.2829, allocations: 217.4 kB / 424.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007431/0.2837, allocations: 375.7 kB / 424.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.2954, allocations: 8.862 MB / 433.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.2955, allocations: 47.56 kB / 433.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.2958, allocations: 135.9 kB / 433.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/0.2981, allocations: 1.637 MB / 435.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.3102, allocations: 7.502 MB / 442.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/0.3449, allocations: 35.08 MB / 478 MB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/0.3526, allocations: 3.448 MB / 481.5 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.3544, allocations: 1.447 MB / 482.9 MB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008578/0.363, allocations: 6.809 MB / 489.7 MB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.363, allocations: 55.09 kB / 489.8 MB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.548e-06/0.3631, allocations: 0 / 489.8 MB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.02383/0.3869, allocations: 10.92 MB / 0.489 GB, free: 284 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.387, allocations: 141.1 kB / 0.4891 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.3914, allocations: 3.56 MB / 0.4926 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3915, allocations: 49.64 kB / 0.4926 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.3933, allocations: 2.904 MB / 0.4954 GB, free: 9.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.3938, allocations: 0.57 MB / 0.496 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.3951, allocations: 1.103 MB / 0.4971 GB, free: 7.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.3952, allocations: 305.4 kB / 0.4974 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.3977, allocations: 1.818 MB / 0.4991 GB, free: 5.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.4023, allocations: 5.259 MB / 0.5043 GB, free: 14.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/0.4099, allocations: 7.677 MB / 0.5118 GB, free: 5.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.187e-05/0.41, allocations: 36 kB / 0.5118 GB, free: 5.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01767/0.4276, allocations: 8.541 MB / 0.5202 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.4277, allocations: 59.94 kB / 0.5202 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009737/0.4375, allocations: 3.218 MB / 0.5234 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.4476, allocations: 2.234 MB / 0.5255 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.4511, allocations: 1.244 MB / 0.5268 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009878/0.461, allocations: 7.417 MB / 0.534 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.4643, allocations: 323.4 kB / 0.5343 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/0.4647, allocations: 340 kB / 0.5346 GB, free: 13.63 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (671): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002588/0.4673, allocations: 1.842 MB / 0.5364 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.4678, allocations: 313.9 kB / 0.5367 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004724/0.4726, allocations: 2.463 MB / 0.5391 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4726, allocations: 11.97 kB / 0.5391 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4726, allocations: 4 kB / 0.5391 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/0.4731, allocations: 366.8 kB / 0.5395 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.4735, allocations: 27.98 kB / 0.5395 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4747, allocations: 99.84 kB / 0.5396 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.4749, allocations: 76.53 kB / 0.5397 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005589/0.4805, allocations: 3.133 MB / 0.5428 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004428/0.485, allocations: 3.852 MB / 0.5465 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001176/0.4861, allocations: 0.9849 MB / 0.5475 GB, free: 376 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1572/0.6434, allocations: 2.198 MB / 0.5496 GB, free: 149.4 MB / 478.1 MB Notification: Performance of Backend: time 1.423e-06/0.6434, allocations: 0 / 0.5496 GB, free: 149.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00976/0.6532, allocations: 4.378 MB / 0.5539 GB, free: 148 MB / 478.1 MB Notification: Performance of SimCode: time 0.01283/0.666, allocations: 8.43 MB / 0.5621 GB, free: 144 MB / 478.1 MB Notification: Performance of Templates: time 0.05696/0.723, allocations: 41.59 MB / 0.6027 GB, free: 117.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches