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.00127/0.00127, allocations: 119.9 kB / 17.79 MB, free: 5.137 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.001405/0.001405, allocations: 185.2 kB / 20.73 MB, free: 2.207 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.402/1.402, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.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.001558/0.001558, allocations: 43.92 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 52.15 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01391/0.1172, allocations: 11.95 MB / 429.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009856/0.127, allocations: 4.377 MB / 434.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.1299, allocations: 79.75 kB / 434.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006444/0.1363, allocations: 2.928 MB / 437.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.1421, allocations: 2.027 MB / 439.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.1449, allocations: 1.045 MB / 440.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007671/0.1526, allocations: 5.544 MB / 445.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2234/0.376, allocations: 3.323 MB / 449.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.3804, allocations: 1.735 MB / 450.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005297/0.3857, allocations: 2.494 MB / 453.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.3878, allocations: 367.2 kB / 453.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.3916, allocations: 1.297 MB / 455 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003662/0.3952, allocations: 2.18 MB / 457.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003836/0.3991, allocations: 2.531 MB / 459.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008861/0.4079, allocations: 8.087 MB / 467.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4079, allocations: 1.188 kB / 467.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.408, allocations: 1.031 kB / 467.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001986/0.4081, allocations: 0 / 467.8 MB, free: 6.293 MB / 366.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.01627/0.4244, allocations: 5.642 MB / 473.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4245, allocations: 13.64 kB / 473.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001836/0.4263, allocations: 0.7192 MB / 474.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1533/0.5796, allocations: 12.39 MB / 486.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.5934, allocations: 4.2 MB / 490.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.5937, allocations: 242.4 kB / 491 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.5957, allocations: 326.5 kB / 491.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.6182, allocations: 9.896 MB / 0.4894 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002625/0.6185, allocations: 44.58 kB / 0.4895 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/0.6197, allocations: 157.7 kB / 0.4896 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00389/0.6236, allocations: 1.956 MB / 0.4915 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.6425, allocations: 8.336 MB / 0.4997 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0574/0.6999, allocations: 38.22 MB / 0.537 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008947/0.7089, allocations: 3.695 MB / 0.5406 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.712, allocations: 1.914 MB / 0.5425 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008793/0.7128, allocations: 0.6455 MB / 0.5431 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.7129, allocations: 58.55 kB / 0.5432 GB, free: 6.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.14e-06/0.7129, allocations: 0 / 0.5432 GB, free: 6.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.0654/0.7783, allocations: 21.18 MB / 0.5638 GB, free: 1.789 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.7785, allocations: 258.7 kB / 0.5641 GB, free: 1.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007598/0.7861, allocations: 4.202 MB / 0.5682 GB, free: 13.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000436/0.7865, allocations: 53.7 kB / 0.5682 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.7892, allocations: 3.274 MB / 0.5714 GB, free: 9.941 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.7902, allocations: 0.7988 MB / 0.5722 GB, free: 9.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.792, allocations: 1.19 MB / 0.5734 GB, free: 7.953 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7921, allocations: 301.1 kB / 0.5737 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.7957, allocations: 2.277 MB / 0.5759 GB, free: 5.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/0.8025, allocations: 5.745 MB / 0.5815 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.8136, allocations: 8.681 MB / 0.59 GB, free: 4.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.138e-05/0.8136, allocations: 35.75 kB / 0.59 GB, free: 4.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01991/0.8335, allocations: 9.539 MB / 0.5993 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.8336, allocations: 60.94 kB / 0.5994 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/0.8338, allocations: 120 kB / 0.5995 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.8402, allocations: 2.083 MB / 0.6015 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004704/0.8449, allocations: 1.255 MB / 0.6028 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/0.8706, allocations: 17.25 MB / 0.6196 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/0.8761, allocations: 339.5 kB / 0.6199 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/0.8775, allocations: 356 kB / 0.6203 GB, free: 4.695 MB / 0.5137 GB 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.00592/0.8835, allocations: 2.166 MB / 0.6224 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/0.8849, allocations: 401.3 kB / 0.6228 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.8951, allocations: 4.27 MB / 0.6269 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-05/0.8952, allocations: 20 kB / 0.627 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/0.8952, allocations: 8 kB / 0.627 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.8952, allocations: 7.969 kB / 0.627 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/0.9188, allocations: 10.05 MB / 0.6368 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.9189, allocations: 0 / 0.6368 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.9204, allocations: 283.6 kB / 0.6371 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004163/0.9246, allocations: 1.355 MB / 0.6384 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/0.925, allocations: 36 kB / 0.6384 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2487/1.174, allocations: 8.967 MB / 0.6472 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.174, allocations: 3.031 kB / 0.6472 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.187, allocations: 7.246 MB / 0.6542 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.188, allocations: 440.2 kB / 0.6547 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/1.189, allocations: 34.61 kB / 0.6547 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.191, allocations: 125.4 kB / 0.6548 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/1.191, allocations: 112.6 kB / 0.6549 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.191, allocations: 53.06 kB / 0.655 GB, free: 178 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004456/1.196, allocations: 2.648 MB / 0.6576 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.196, allocations: 3.281 kB / 0.6576 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005022/1.201, allocations: 1.129 MB / 0.6587 GB, free: 177 MB / 0.5294 GB 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.01005/1.211, allocations: 7.899 MB / 0.6664 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008643/1.219, allocations: 5.832 MB / 0.6721 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.219, allocations: 0 / 0.6721 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.223, allocations: 2.067 MB / 0.6741 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/1.227, allocations: 0.6044 MB / 0.6747 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07764/1.305, allocations: 49.98 MB / 0.7235 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.308, allocations: 3.446 MB / 0.7269 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003445/1.312, allocations: 1.876 MB / 0.7287 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.313, allocations: 2.014 MB / 0.7307 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.313, allocations: 0 / 0.7307 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.438, allocations: 84.54 MB / 0.8132 GB, free: 29.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.57/28.01, allocations: 7.875 kB / 0.8132 GB, free: 29.21 MB / 0.5294 GB " [Timeout remaining time 632] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 31.256476317998022]