Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001639/0.001639, allocations: 124.2 kB / 17.78 MB, free: 5.121 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.001869/0.001869, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.416/1.416, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.DoublePendulum,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 55.92 kB / 365.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01249/0.1125, allocations: 10.46 MB / 428.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.1206, allocations: 3.977 MB / 432.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.1222, allocations: 71.75 kB / 432.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004499/0.1267, allocations: 2.235 MB / 434.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.1315, allocations: 1.903 MB / 436.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1331, allocations: 0.7448 MB / 437.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007292/0.1404, allocations: 5.17 MB / 442.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003452/0.1438, allocations: 2.464 MB / 444.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1994/0.3433, allocations: 1.488 MB / 446.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.3464, allocations: 2.211 MB / 448.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009951/0.3474, allocations: 299.4 kB / 448.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.35, allocations: 1.229 MB / 450 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.3524, allocations: 1.911 MB / 451.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00412/0.3565, allocations: 2.207 MB / 454.2 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.3671, allocations: 7.036 MB / 461.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3671, allocations: 0 / 461.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3671, allocations: 1.344 kB / 461.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002261/0.3673, allocations: 0 / 461.2 MB, free: 8.879 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.01552/0.3828, allocations: 5.053 MB / 466.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3829, allocations: 9.625 kB / 466.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001437/0.3843, allocations: 0.6175 MB / 466.9 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1514/0.5357, allocations: 12.3 MB / 479.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.5463, allocations: 3.936 MB / 483.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.5464, allocations: 201.3 kB / 483.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.5476, allocations: 275.9 kB / 483.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.5652, allocations: 8.724 MB / 492.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.5654, allocations: 51.73 kB / 492.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/0.5659, allocations: 128.7 kB / 492.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/0.5691, allocations: 1.766 MB / 494.2 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.5852, allocations: 7.528 MB / 0.49 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.6351, allocations: 35.42 MB / 0.5246 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008436/0.6435, allocations: 3.564 MB / 0.5281 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.6463, allocations: 1.892 MB / 0.5299 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.6467, allocations: 327.2 kB / 0.5302 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.6468, allocations: 54.75 kB / 0.5303 GB, free: 4.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 3.967e-06/0.6468, allocations: 6.344 kB / 0.5303 GB, free: 4.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05695/0.7037, allocations: 20.23 MB / 0.55 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.7039, allocations: 255.5 kB / 0.5503 GB, free: 280 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.7107, allocations: 3.955 MB / 0.5541 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005253/0.7112, allocations: 53.7 kB / 0.5542 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.7136, allocations: 2.927 MB / 0.5571 GB, free: 9.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.7147, allocations: 0.7461 MB / 0.5578 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.7163, allocations: 1.118 MB / 0.5589 GB, free: 7.457 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7165, allocations: 305.1 kB / 0.5592 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.7199, allocations: 2.169 MB / 0.5613 GB, free: 4.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006243/0.7261, allocations: 5.394 MB / 0.5666 GB, free: 14.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.7369, allocations: 8.199 MB / 0.5746 GB, free: 4.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-05/0.737, allocations: 32 kB / 0.5746 GB, free: 4.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01754/0.7545, allocations: 8.65 MB / 0.583 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.7546, allocations: 52.94 kB / 0.5831 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.7548, allocations: 112 kB / 0.5832 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/0.7594, allocations: 1.508 MB / 0.5847 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.7639, allocations: 1.224 MB / 0.5859 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.7795, allocations: 9.935 MB / 0.5956 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/0.7854, allocations: 321.1 kB / 0.5959 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/0.7869, allocations: 332 kB / 0.5962 GB, free: 14.48 MB / 0.4981 GB 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.005332/0.7922, allocations: 1.933 MB / 0.5981 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.7932, allocations: 382 kB / 0.5984 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008494/0.8017, allocations: 4.128 MB / 0.6025 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/0.8018, allocations: 20 kB / 0.6025 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.8018, allocations: 12 kB / 0.6025 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.8018, allocations: 7.969 kB / 0.6025 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.8215, allocations: 9.267 MB / 0.6116 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8215, allocations: 0 / 0.6116 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.8228, allocations: 267.6 kB / 0.6118 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003935/0.8267, allocations: 1.351 MB / 0.6131 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.8269, allocations: 35.94 kB / 0.6132 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.8401, allocations: 8.939 MB / 0.6219 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8401, allocations: 0 / 0.6219 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/0.8519, allocations: 7.04 MB / 0.6288 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.8533, allocations: 426.5 kB / 0.6292 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.8538, allocations: 28 kB / 0.6292 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.8552, allocations: 123.8 kB / 0.6293 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/0.8556, allocations: 113 kB / 0.6294 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.8558, allocations: 50.89 kB / 0.6295 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004398/0.8602, allocations: 2.51 MB / 0.6319 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.8602, allocations: 3.75 kB / 0.6319 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00449/0.8647, allocations: 1.004 MB / 0.6329 GB, free: 8.594 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 (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.01201/0.8767, allocations: 7.682 MB / 0.6404 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2213/1.098, allocations: 5.148 MB / 0.6454 GB, free: 191.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.098, allocations: 3.125 kB / 0.6454 GB, free: 191.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004404/1.102, allocations: 1.93 MB / 0.6473 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.107, allocations: 0.4937 MB / 0.6478 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08364/1.191, allocations: 45.75 MB / 0.6925 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006107/1.197, allocations: 3.091 MB / 0.6955 GB, free: 156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004803/1.202, allocations: 1.821 MB / 0.6973 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003063/1.205, allocations: 1.761 MB / 0.699 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/1.205, allocations: 0 / 0.699 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.344, allocations: 75.15 MB / 0.7724 GB, free: 77.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/24.48, allocations: 7.984 kB / 0.7724 GB, free: 77.8 MB / 0.5294 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.36179139884189]