Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 97.86 kB / 16.95 MB, free: 6 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.0009674/0.0009676, allocations: 177.8 kB / 17.84 MB, free: 5.656 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.445/1.445, allocations: 205.4 MB / 224 MB, free: 13.07 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.0005142/0.0005143, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09357, allocations: 47.59 MB / 328.4 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03048/0.1241, allocations: 31.38 MB / 359.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.1431, allocations: 7.428 MB / 367.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00727/0.1504, allocations: 147.6 kB / 367.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005831/0.1563, allocations: 1.571 MB / 368.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.169, allocations: 4.856 MB / 373.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1712, allocations: 0.507 MB / 374.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005184/0.1764, allocations: 3.79 MB / 378 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2014/0.3779, allocations: 2.962 MB / 381 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.3803, allocations: 1.043 MB / 382 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.3832, allocations: 1.592 MB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005375/0.3838, allocations: 121.1 kB / 383.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.3856, allocations: 0.7943 MB / 384.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.3876, allocations: 1.397 MB / 385.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009823/0.3886, allocations: 0.7006 MB / 386.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.3942, allocations: 4.428 MB / 391.1 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3942, allocations: 0 / 391.1 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3942, allocations: 1.188 kB / 391.1 MB, free: 11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001531/0.3944, allocations: 0 / 391.1 MB, free: 11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007063/0.4014, allocations: 3.348 MB / 394.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4015, allocations: 11.84 kB / 394.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/0.4077, allocations: 1.822 MB / 396.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.4117, allocations: 1.94 MB / 398.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4119, allocations: 189.2 kB / 398.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005338/0.4124, allocations: 258 kB / 398.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.4263, allocations: 8.417 MB / 407.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.295e-05/0.4264, allocations: 44.62 kB / 407.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.4267, allocations: 120.5 kB / 407.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/0.429, allocations: 1.699 MB / 408.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.4406, allocations: 7.07 MB / 416 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04021/0.4809, allocations: 34.14 MB / 450.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007368/0.4883, allocations: 3.269 MB / 453.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.4904, allocations: 1.459 MB / 454.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.4977, allocations: 4.367 MB / 459.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.4978, allocations: 50.2 kB / 459.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 5.139e-06/0.4978, allocations: 0 / 459.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03063/0.5284, allocations: 11.49 MB / 470.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.5286, allocations: 141.1 kB / 470.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007302/0.5359, allocations: 3.709 MB / 474.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.5363, allocations: 53.53 kB / 474.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.5387, allocations: 2.741 MB / 477.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008191/0.5396, allocations: 0.523 MB / 477.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.5401, allocations: 108 kB / 478 MB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004877/0.5406, allocations: 0.5292 MB / 478.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/0.5437, allocations: 1.685 MB / 480.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005724/0.5494, allocations: 5.109 MB / 485.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.5541, allocations: 2.87 MB / 488.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.239e-05/0.5542, allocations: 36 kB / 488.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01208/0.5663, allocations: 6.685 MB / 494.9 MB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.5664, allocations: 56 kB / 495 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/0.5667, allocations: 124 kB / 495.1 MB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.5674, allocations: 332.7 kB / 495.4 MB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/0.5714, allocations: 1.252 MB / 496.7 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.5741, allocations: 2.286 MB / 499 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.5785, allocations: 283.5 kB / 499.3 MB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000825/0.5793, allocations: 335.9 kB / 499.6 MB, free: 3.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003841/0.5832, allocations: 1.793 MB / 0.4896 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00066/0.5839, allocations: 308 kB / 0.4899 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.5889, allocations: 2.355 MB / 0.4922 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.5889, allocations: 16 kB / 0.4922 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.589, allocations: 4 kB / 0.4922 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.589, allocations: 7.969 kB / 0.4922 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.6036, allocations: 5.929 MB / 0.498 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.6037, allocations: 5.969 kB / 0.498 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.6046, allocations: 167.8 kB / 0.4982 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.6067, allocations: 0.7147 MB / 0.4989 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.6068, allocations: 20 kB / 0.4989 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008709/0.6156, allocations: 4.468 MB / 0.5033 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.6156, allocations: 4.031 kB / 0.5033 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.6266, allocations: 4.308 MB / 0.5075 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/0.6291, allocations: 0.5359 MB / 0.508 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/0.6302, allocations: 23.95 kB / 0.508 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/0.6326, allocations: 63.92 kB / 0.5081 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.633, allocations: 64.62 kB / 0.5082 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.6332, allocations: 39.98 kB / 0.5082 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006158/0.6394, allocations: 2.311 MB / 0.5105 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6394, allocations: 0 / 0.5105 GB, free: 11.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006098/0.6455, allocations: 0.8125 MB / 0.5113 GB, free: 11.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000663/0.6462, allocations: 163 kB / 0.5114 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.6534, allocations: 4.003 MB / 0.5153 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6534, allocations: 4.375 kB / 0.5153 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.6551, allocations: 1.099 MB / 0.5164 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.6584, allocations: 378.2 kB / 0.5168 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.6745, allocations: 8.65 MB / 0.5252 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004378/0.6789, allocations: 2.789 MB / 0.5279 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004841/0.6838, allocations: 1.663 MB / 0.5296 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009195/0.6847, allocations: 203.4 kB / 0.5297 GB, free: 8.16 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6847, allocations: 2.078 kB / 0.5297 GB, free: 8.16 MB / 446.1 MB Notification: Performance of Templates: time 0.2317/0.9164, allocations: 28.9 MB / 0.558 GB, free: 157.2 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches