Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2791, allocations: 50.55 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01399/0.2931, allocations: 11.78 MB / 420.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009339/0.3025, allocations: 4.343 MB / 424.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.3043, allocations: 83.69 kB / 425 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.3098, allocations: 2.865 MB / 427.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.3148, allocations: 1.926 MB / 429.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3172, allocations: 1.049 MB / 430.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008049/0.3252, allocations: 5.592 MB / 436.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005284/0.3306, allocations: 3.98 MB / 440.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.3338, allocations: 1.69 MB / 442.1 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.3375, allocations: 2.286 MB / 444.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009905/0.3385, allocations: 364 kB / 444.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.3411, allocations: 1.229 MB / 446 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.3435, allocations: 2.061 MB / 448.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.3467, allocations: 2.478 MB / 450.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009478/0.3562, allocations: 7.911 MB / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.3562, allocations: 0 / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3562, allocations: 0 / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.3564, allocations: 4 kB / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01527/0.3717, allocations: 5.571 MB / 464 MB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3718, allocations: 20.02 kB / 464 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/0.3733, allocations: 0.7032 MB / 464.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1763/0.5496, allocations: 12.38 MB / 477.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009503/0.5592, allocations: 3.967 MB / 481.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.5594, allocations: 238.1 kB / 481.3 MB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009627/0.5604, allocations: 327.8 kB / 481.6 MB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.5772, allocations: 9.718 MB / 491.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.5774, allocations: 47.59 kB / 491.4 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/0.5779, allocations: 155.9 kB / 491.6 MB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003359/0.5812, allocations: 1.896 MB / 493.5 MB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.5975, allocations: 8.238 MB / 0.4899 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/0.6457, allocations: 37.77 MB / 0.5268 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008623/0.6544, allocations: 3.828 MB / 0.5306 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.6573, allocations: 2.063 MB / 0.5326 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.6581, allocations: 0.644 MB / 0.5332 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.6582, allocations: 47.56 kB / 0.5333 GB, free: 5.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 5.861e-06/0.6582, allocations: 0 / 0.5333 GB, free: 5.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.2404/0.8986, allocations: 21.14 MB / 0.5539 GB, free: 120.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.8987, allocations: 256 kB / 0.5541 GB, free: 120.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.903, allocations: 4.187 MB / 0.5582 GB, free: 118.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.9033, allocations: 53.7 kB / 0.5583 GB, free: 118.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.9046, allocations: 3.241 MB / 0.5614 GB, free: 115.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/0.9051, allocations: 0.7939 MB / 0.5622 GB, free: 115 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.9063, allocations: 1.187 MB / 0.5634 GB, free: 113.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.9064, allocations: 301.1 kB / 0.5637 GB, free: 113.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.9088, allocations: 2.276 MB / 0.5659 GB, free: 111.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/0.9124, allocations: 5.74 MB / 0.5715 GB, free: 103.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/0.9188, allocations: 8.682 MB / 0.58 GB, free: 93.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/0.9189, allocations: 32 kB / 0.58 GB, free: 93.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01328/0.9322, allocations: 9.571 MB / 0.5894 GB, free: 83.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.9323, allocations: 56 kB / 0.5894 GB, free: 83.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.13e-05/0.9324, allocations: 120 kB / 0.5895 GB, free: 83.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005061/0.9374, allocations: 2.083 MB / 0.5916 GB, free: 81.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.9405, allocations: 1.252 MB / 0.5928 GB, free: 80.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.9572, allocations: 17.26 MB / 0.6096 GB, free: 62.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/0.9613, allocations: 335.6 kB / 0.6099 GB, free: 62.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000527/0.9619, allocations: 356 kB / 0.6103 GB, free: 62.06 MB / 462.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: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (671): * Single equations (assignments): 665 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002406/0.9643, allocations: 2.135 MB / 0.6124 GB, free: 59.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/0.9649, allocations: 408.2 kB / 0.6128 GB, free: 59.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006444/0.9713, allocations: 4.286 MB / 0.6169 GB, free: 55.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.9714, allocations: 23.94 kB / 0.617 GB, free: 55.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.9714, allocations: 8 kB / 0.617 GB, free: 55.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.9714, allocations: 11.97 kB / 0.617 GB, free: 55.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.9847, allocations: 9.985 MB / 0.6267 GB, free: 45.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.9848, allocations: 4 kB / 0.6267 GB, free: 45.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.9859, allocations: 283.5 kB / 0.627 GB, free: 44.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.9893, allocations: 1.355 MB / 0.6283 GB, free: 43.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/0.9895, allocations: 28 kB / 0.6284 GB, free: 43.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009477/0.9989, allocations: 8.983 MB / 0.6371 GB, free: 34.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.999, allocations: 0 / 0.6371 GB, free: 34.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/1.008, allocations: 7.267 MB / 0.6442 GB, free: 27.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.009, allocations: 442.3 kB / 0.6447 GB, free: 26.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/1.009, allocations: 32 kB / 0.6447 GB, free: 26.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.011, allocations: 123.8 kB / 0.6448 GB, free: 26.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/1.011, allocations: 121 kB / 0.6449 GB, free: 26.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.011, allocations: 55.98 kB / 0.645 GB, free: 26.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002952/1.014, allocations: 2.633 MB / 0.6475 GB, free: 23.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.014, allocations: 0 / 0.6475 GB, free: 23.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004021/1.018, allocations: 1.109 MB / 0.6486 GB, free: 22.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (147): * Single equations (assignments): 143 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008886/1.027, allocations: 7.91 MB / 0.6564 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007098/1.034, allocations: 6.059 MB / 0.6623 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.034, allocations: 4 kB / 0.6623 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003122/1.037, allocations: 2.214 MB / 0.6644 GB, free: 6.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.04, allocations: 0.5949 MB / 0.665 GB, free: 5.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07718/1.117, allocations: 49.86 MB / 0.7137 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/1.122, allocations: 3.393 MB / 0.717 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004095/1.126, allocations: 1.88 MB / 0.7189 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/1.128, allocations: 1.975 MB / 0.7208 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/1.128, allocations: 0 / 0.7208 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/1.454, allocations: 83.5 MB / 0.8023 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.42/27.88, allocations: 17.61 kB / 0.8023 GB, free: 146.6 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches