Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 188 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 39.94 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3148, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01549/0.3303, allocations: 11.99 MB / 434.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3407, allocations: 4.393 MB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.3433, allocations: 103.4 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006397/0.3497, allocations: 2.947 MB / 442.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.3558, allocations: 2.031 MB / 444.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.3587, allocations: 1.056 MB / 445.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009451/0.3681, allocations: 5.565 MB / 450.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005872/0.374, allocations: 3.098 MB / 453.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003963/0.378, allocations: 1.76 MB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/0.3827, allocations: 2.5 MB / 458.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.3841, allocations: 372 kB / 458.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.3874, allocations: 1.287 MB / 459.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003191/0.3905, allocations: 2.189 MB / 461.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005166/0.3957, allocations: 2.529 MB / 464.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.408, allocations: 8.094 MB / 472.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.408, allocations: 0 / 472.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.408, allocations: 0 / 472.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003385/0.4083, allocations: 0 / 472.5 MB, free: 12.46 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01909/0.4274, allocations: 5.562 MB / 478.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.4275, allocations: 12.03 kB / 478.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002304/0.4298, allocations: 0.7196 MB / 478.8 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1597/0.5895, allocations: 12.39 MB / 491.2 MB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.6024, allocations: 4.106 MB / 495.3 MB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.6028, allocations: 238.2 kB / 495.6 MB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.6047, allocations: 331.7 kB / 495.9 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.6315, allocations: 9.896 MB / 0.4939 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003864/0.6319, allocations: 51.62 kB / 0.494 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001747/0.6336, allocations: 155.8 kB / 0.4941 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004293/0.6379, allocations: 1.951 MB / 0.496 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.6584, allocations: 8.344 MB / 0.5042 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4026/1.061, allocations: 38.07 MB / 0.5414 GB, free: 83.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008139/1.069, allocations: 3.244 MB / 0.5445 GB, free: 83.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/1.072, allocations: 1.92 MB / 0.5464 GB, free: 83.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/1.072, allocations: 202.9 kB / 0.5466 GB, free: 83.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.072, allocations: 58.61 kB / 0.5467 GB, free: 83.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.851e-06/1.072, allocations: 0 / 0.5467 GB, free: 83.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04913/1.121, allocations: 20.97 MB / 0.5671 GB, free: 71.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/1.121, allocations: 252.4 kB / 0.5674 GB, free: 70.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/1.126, allocations: 4.202 MB / 0.5715 GB, free: 66.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/1.126, allocations: 49.7 kB / 0.5715 GB, free: 66.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.128, allocations: 3.283 MB / 0.5747 GB, free: 63.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/1.129, allocations: 0.7992 MB / 0.5755 GB, free: 62.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.13, allocations: 1.194 MB / 0.5767 GB, free: 61.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/1.13, allocations: 301.1 kB / 0.577 GB, free: 61.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/1.132, allocations: 2.272 MB / 0.5792 GB, free: 59.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/1.136, allocations: 5.748 MB / 0.5848 GB, free: 51.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006977/1.143, allocations: 8.679 MB / 0.5933 GB, free: 41.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.055e-05/1.144, allocations: 32 kB / 0.5933 GB, free: 41.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01448/1.158, allocations: 9.547 MB / 0.6026 GB, free: 31.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/1.158, allocations: 56 kB / 0.6027 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.158, allocations: 120 kB / 0.6028 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/1.164, allocations: 2.071 MB / 0.6048 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.168, allocations: 1.248 MB / 0.606 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.187, allocations: 16.95 MB / 0.6226 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/1.193, allocations: 347.6 kB / 0.6229 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.195, allocations: 359.9 kB / 0.6233 GB, free: 10.46 MB / 446.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.arrowLine.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.005865/1.201, allocations: 2.162 MB / 0.6254 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.202, allocations: 399 kB / 0.6257 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008707/1.211, allocations: 4.274 MB / 0.6299 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/1.211, allocations: 28 kB / 0.6299 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/1.211, allocations: 4 kB / 0.63 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/1.211, allocations: 11.97 kB / 0.63 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/1.236, allocations: 10.01 MB / 0.6397 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.236, allocations: 4 kB / 0.6397 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.238, allocations: 279.6 kB / 0.64 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/1.242, allocations: 1.359 MB / 0.6413 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003173/1.242, allocations: 35.98 kB / 0.6414 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.257, allocations: 8.861 MB / 0.65 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.257, allocations: 7.938 kB / 0.65 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.272, allocations: 7.255 MB / 0.6571 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.273, allocations: 361.2 kB / 0.6575 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.275, allocations: 40.11 kB / 0.6575 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/1.278, allocations: 119.8 kB / 0.6576 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/1.278, allocations: 121 kB / 0.6577 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/1.278, allocations: 59.58 kB / 0.6578 GB, free: 6.887 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007063/1.285, allocations: 2.645 MB / 0.6604 GB, free: 4.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.285, allocations: 0 / 0.6604 GB, free: 4.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008512/1.294, allocations: 1.125 MB / 0.6615 GB, free: 3.109 MB / 478.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.0158/1.31, allocations: 7.905 MB / 0.6692 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01215/1.322, allocations: 5.817 MB / 0.6749 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.322, allocations: 192 / 0.6749 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/1.326, allocations: 2.073 MB / 0.6769 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/1.332, allocations: 0.5903 MB / 0.6775 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1189/1.451, allocations: 50.06 MB / 0.7264 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007827/1.459, allocations: 3.45 MB / 0.7297 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006044/1.465, allocations: 1.877 MB / 0.7316 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/1.469, allocations: 2.018 MB / 0.7335 GB, free: 3.793 MB / 0.545 GB Notification: Performance of SimCode: time 2.285e-06/1.469, allocations: 3.938 kB / 0.7335 GB, free: 3.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4513/1.921, allocations: 89.45 MB / 0.8209 GB, free: 134.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.25/29.17, allocations: 7.922 kB / 0.8209 GB, free: 134.2 MB / 0.545 GB " [Timeout remaining time 631] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 32.46835079789162]