Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 254 MB, free: 15.15 MB / 206.1 MB " [Timeout remaining time 178] 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.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008917/0.1214, allocations: 7.125 MB / 433.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.1275, allocations: 3.185 MB / 436.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.1285, allocations: 39.81 kB / 436.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.1303, allocations: 0.8131 MB / 437.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.1333, allocations: 1.312 MB / 438.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1344, allocations: 495 kB / 439.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003407/0.1378, allocations: 2.558 MB / 441.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.1393, allocations: 1.02 MB / 442.9 MB, free: 4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1404, allocations: 0.7628 MB / 443.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.142, allocations: 1.207 MB / 444.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.1423, allocations: 139.9 kB / 445 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.1439, allocations: 0.9008 MB / 445.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2163/0.3602, allocations: 0.9993 MB / 446.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.3624, allocations: 1.183 MB / 448.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.3679, allocations: 3.945 MB / 452 MB, free: 9.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3679, allocations: 1.828 kB / 452 MB, free: 9.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3679, allocations: 1.031 kB / 452 MB, free: 9.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.753e-05/0.368, allocations: 0 / 452 MB, free: 9.523 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007181/0.3752, allocations: 2.946 MB / 455 MB, free: 8.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3752, allocations: 10.95 kB / 455 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007602/0.376, allocations: 449.7 kB / 455.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/0.3824, allocations: 1.667 MB / 457.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.3857, allocations: 1.539 MB / 458.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3858, allocations: 120.9 kB / 458.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.3863, allocations: 150.6 kB / 458.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009489/0.3958, allocations: 6.362 MB / 465.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.3958, allocations: 36.52 kB / 465.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.3961, allocations: 82.38 kB / 465.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.3985, allocations: 1.436 MB / 466.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009658/0.4082, allocations: 5.672 MB / 472.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.441, allocations: 26.24 MB / 498.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004844/0.4458, allocations: 2.186 MB / 0.4892 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4472, allocations: 0.9383 MB / 0.4901 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.4472, allocations: 20.45 kB / 0.4901 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4473, allocations: 45.78 kB / 0.4902 GB, free: 12.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.557e-06/0.4473, allocations: 0 / 0.4902 GB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02299/0.4703, allocations: 8.72 MB / 0.4987 GB, free: 3.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4704, allocations: 140.5 kB / 0.4988 GB, free: 3.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.4749, allocations: 2.829 MB / 0.5016 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002983/0.4752, allocations: 41.7 kB / 0.5016 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/0.4772, allocations: 2.154 MB / 0.5037 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007812/0.478, allocations: 454.4 kB / 0.5041 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.4795, allocations: 0.8884 MB / 0.505 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4797, allocations: 301.1 kB / 0.5053 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.4822, allocations: 1.41 MB / 0.5067 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/0.4872, allocations: 4.239 MB / 0.5108 GB, free: 5.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008639/0.4958, allocations: 6.113 MB / 0.5168 GB, free: 14.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.329e-05/0.4959, allocations: 32 kB / 0.5168 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01423/0.5102, allocations: 6.093 MB / 0.5228 GB, free: 8.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/0.5102, allocations: 48 kB / 0.5228 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.5104, allocations: 102.1 kB / 0.5229 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.5129, allocations: 0.8012 MB / 0.5237 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/0.5165, allocations: 0.9825 MB / 0.5246 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.5232, allocations: 4.474 MB / 0.529 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.527, allocations: 244.6 kB / 0.5293 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009182/0.5279, allocations: 276 kB / 0.5295 GB, free: 1.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (533): * Single equations (assignments): 529 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002812/0.5308, allocations: 1.38 MB / 0.5309 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.5314, allocations: 242.5 kB / 0.5311 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.5357, allocations: 1.837 MB / 0.5329 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/0.5358, allocations: 19.94 kB / 0.5329 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.5358, allocations: 0 / 0.5329 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.5358, allocations: 15.97 kB / 0.5329 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00997/0.5458, allocations: 4.78 MB / 0.5376 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5458, allocations: 384 / 0.5376 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.5464, allocations: 131.8 kB / 0.5377 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/0.5485, allocations: 0.656 MB / 0.5384 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.5486, allocations: 16.06 kB / 0.5384 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005461/0.5541, allocations: 3.956 MB / 0.5422 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5541, allocations: 7.969 kB / 0.5422 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006317/0.5604, allocations: 3.687 MB / 0.5458 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.5611, allocations: 299.3 kB / 0.5461 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.5613, allocations: 31.16 kB / 0.5462 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.5622, allocations: 55.92 kB / 0.5462 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.5624, allocations: 55.91 kB / 0.5463 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.5625, allocations: 28 kB / 0.5463 GB, free: 15.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00293/0.5654, allocations: 1.758 MB / 0.548 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5654, allocations: 0 / 0.548 GB, free: 14.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003306/0.5687, allocations: 0.6356 MB / 0.5486 GB, free: 13.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006698/0.5754, allocations: 4.317 MB / 0.5528 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00598/0.5814, allocations: 3.292 MB / 0.5561 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5814, allocations: 5 kB / 0.5561 GB, free: 5.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.5827, allocations: 0.8692 MB / 0.5569 GB, free: 5.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.5844, allocations: 257.3 kB / 0.5572 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/0.6345, allocations: 30.18 MB / 0.5866 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/0.6371, allocations: 2.181 MB / 0.5888 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003103/0.6402, allocations: 1.404 MB / 0.5901 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.6418, allocations: 1.046 MB / 0.5911 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.6418, allocations: 3.938 kB / 0.5912 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/0.7373, allocations: 41.89 MB / 0.6321 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/19.14, allocations: 17.36 kB / 0.6321 GB, free: 4.477 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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: 22.03084091306664]