Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.001619/0.001619, allocations: 122.2 kB / 18.45 MB, free: 4.457 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.00198/0.00198, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 207.6 MB / 231.8 MB, free: 3.996 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001679/0.001679, allocations: 52.34 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08763, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01236/0.09999, allocations: 10.51 MB / 401.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008345/0.1083, allocations: 3.98 MB / 405.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.11, allocations: 67.75 kB / 405.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.1147, allocations: 2.235 MB / 408.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.1194, allocations: 1.907 MB / 410.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1212, allocations: 0.7448 MB / 410.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006908/0.1281, allocations: 4.835 MB / 415.7 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.1317, allocations: 2.468 MB / 418.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.1342, allocations: 1.503 MB / 419.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.1375, allocations: 2.22 MB / 421.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009454/0.1384, allocations: 300 kB / 422.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1409, allocations: 1.225 MB / 423.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.1431, allocations: 1.92 MB / 425.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.1463, allocations: 2.218 MB / 427.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008577/0.1549, allocations: 7.059 MB / 434.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1549, allocations: 0 / 434.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1549, allocations: 3.938 kB / 434.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.1551, allocations: 0 / 434.6 MB, free: 13.33 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01254/0.1676, allocations: 5.081 MB / 439.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1677, allocations: 12.03 kB / 439.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.1688, allocations: 0.6244 MB / 440.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1498/0.3187, allocations: 12.31 MB / 452.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.3298, allocations: 4.254 MB / 456.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.3302, allocations: 197 kB / 457 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.3313, allocations: 275.8 kB / 457.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1789/0.5102, allocations: 8.73 MB / 466 MB, free: 59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001789/0.5104, allocations: 43.62 kB / 466.1 MB, free: 58.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.5108, allocations: 129 kB / 466.2 MB, free: 58.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.5141, allocations: 1.769 MB / 468 MB, free: 58.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.5283, allocations: 7.527 MB / 475.5 MB, free: 56.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0332/0.5615, allocations: 35.45 MB / 0.499 GB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/0.5679, allocations: 3.567 MB / 0.5025 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.5697, allocations: 1.892 MB / 0.5043 GB, free: 21.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.5701, allocations: 322.1 kB / 0.5046 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5701, allocations: 51.56 kB / 0.5047 GB, free: 20.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=160): time 4.648e-06/0.5701, allocations: 0 / 0.5047 GB, free: 20.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=190): time 0.04657/0.6167, allocations: 20.35 MB / 0.5245 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.6167, allocations: 252.6 kB / 0.5248 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/0.6234, allocations: 3.99 MB / 0.5287 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.6237, allocations: 53.7 kB / 0.5287 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.6263, allocations: 2.926 MB / 0.5316 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.6273, allocations: 0.7519 MB / 0.5323 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002087/0.6294, allocations: 1.119 MB / 0.5334 GB, free: 7.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6295, allocations: 301.1 kB / 0.5337 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.6331, allocations: 2.17 MB / 0.5358 GB, free: 5.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006565/0.6397, allocations: 5.396 MB / 0.5411 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.6506, allocations: 8.208 MB / 0.5491 GB, free: 4.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.074e-05/0.6507, allocations: 32 kB / 0.5491 GB, free: 4.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01797/0.6687, allocations: 8.644 MB / 0.5576 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.6688, allocations: 56 kB / 0.5576 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.669, allocations: 116 kB / 0.5577 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00461/0.6736, allocations: 1.5 MB / 0.5592 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.6778, allocations: 1.224 MB / 0.5604 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.6937, allocations: 9.932 MB / 0.5701 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.6979, allocations: 323.6 kB / 0.5704 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009364/0.6988, allocations: 332 kB / 0.5707 GB, free: 14.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (650): * Single equations (assignments): 646 * 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 {(2,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003979/0.7028, allocations: 1.939 MB / 0.5726 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009497/0.7037, allocations: 373.5 kB / 0.573 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/0.7129, allocations: 4.139 MB / 0.577 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/0.7129, allocations: 23.91 kB / 0.577 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.713, allocations: 8 kB / 0.577 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/0.713, allocations: 7.969 kB / 0.5771 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/0.7333, allocations: 9.271 MB / 0.5861 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.7334, allocations: 1.5 kB / 0.5861 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.7347, allocations: 267.6 kB / 0.5864 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004037/0.7387, allocations: 1.351 MB / 0.5877 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.739, allocations: 35.94 kB / 0.5877 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.753, allocations: 8.944 MB / 0.5965 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.753, allocations: 4 kB / 0.5965 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.766, allocations: 7.041 MB / 0.6033 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/0.7682, allocations: 0.717 MB / 0.604 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/0.7691, allocations: 36 kB / 0.6041 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.771, allocations: 111.8 kB / 0.6042 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.7714, allocations: 117.1 kB / 0.6043 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.7716, allocations: 47.98 kB / 0.6043 GB, free: 11.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004784/0.7764, allocations: 2.53 MB / 0.6068 GB, free: 8.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7764, allocations: 3.938 kB / 0.6068 GB, free: 8.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004886/0.7813, allocations: 1.012 MB / 0.6078 GB, free: 7.781 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 (136): * Single equations (assignments): 132 * 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 {(4,31,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01326/0.7945, allocations: 7.677 MB / 0.6153 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00914/0.8037, allocations: 5.162 MB / 0.6203 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.8037, allocations: 4 kB / 0.6203 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003737/0.8074, allocations: 1.93 MB / 0.6222 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.8108, allocations: 0.4909 MB / 0.6227 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2435/1.054, allocations: 45.92 MB / 0.6675 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/1.057, allocations: 3.099 MB / 0.6706 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003419/1.061, allocations: 1.824 MB / 0.6724 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.062, allocations: 1.76 MB / 0.6741 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/1.062, allocations: 4 kB / 0.6741 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.171, allocations: 75.41 MB / 0.7477 GB, free: 86.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.11/25.28, allocations: 4 kB / 0.7477 GB, free: 86.62 MB / 0.4981 GB " [Timeout remaining time 635] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.13794845016673]