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.001462/0.001462, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.001624/0.001624, allocations: 211.7 kB / 24.52 MB, free: 4.141 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.89 kB / 378.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2057, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008265/0.214, allocations: 7.147 MB / 439.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.2192, allocations: 3.22 MB / 442.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.2197, allocations: 39.81 kB / 442.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.2212, allocations: 0.8015 MB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.2236, allocations: 1.316 MB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009117/0.2245, allocations: 0.4911 MB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.2274, allocations: 2.566 MB / 447.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.2286, allocations: 1.082 MB / 448.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008453/0.2294, allocations: 0.7628 MB / 449.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2308, allocations: 1.215 MB / 450.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.2311, allocations: 132 kB / 450.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2324, allocations: 0.8969 MB / 451.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008652/0.2333, allocations: 1.005 MB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.2343, allocations: 1.184 MB / 453.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.2384, allocations: 3.945 MB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2384, allocations: 0 / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2384, allocations: 4 kB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.326e-05/0.2385, allocations: 0 / 457.8 MB, free: 12.78 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.004885/0.2434, allocations: 2.869 MB / 460.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2434, allocations: 8.031 kB / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.975e-05/0.2435, allocations: 59.16 kB / 460.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004986/0.244, allocations: 453.9 kB / 461.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/0.2499, allocations: 1.672 MB / 462.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.2526, allocations: 1.477 MB / 464.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.2527, allocations: 118.9 kB / 464.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.253, allocations: 147.9 kB / 464.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008833/0.2619, allocations: 6.367 MB / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.2619, allocations: 35.7 kB / 471 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.2621, allocations: 75.89 kB / 471 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/0.2645, allocations: 1.433 MB / 472.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009331/0.2739, allocations: 5.673 MB / 478.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.3012, allocations: 26.14 MB / 0.4925 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.3052, allocations: 1.743 MB / 0.4942 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3064, allocations: 0.9364 MB / 0.4951 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.3065, allocations: 19.98 kB / 0.4951 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3065, allocations: 42.5 kB / 0.4951 GB, free: 10.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.3065, allocations: 0 / 0.4951 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02019/0.3267, allocations: 8.494 MB / 0.5034 GB, free: 1.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.3268, allocations: 140.5 kB / 0.5036 GB, free: 1.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/0.3304, allocations: 2.836 MB / 0.5063 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.3305, allocations: 37.7 kB / 0.5064 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.332, allocations: 2.159 MB / 0.5085 GB, free: 12.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/0.3325, allocations: 452.6 kB / 0.5089 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.3336, allocations: 0.8854 MB / 0.5098 GB, free: 10.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3337, allocations: 305.1 kB / 0.5101 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.3358, allocations: 1.406 MB / 0.5114 GB, free: 9.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/0.34, allocations: 4.238 MB / 0.5156 GB, free: 3.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006831/0.3468, allocations: 6.125 MB / 0.5216 GB, free: 11.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.873e-05/0.3468, allocations: 28 kB / 0.5216 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01019/0.357, allocations: 6.093 MB / 0.5275 GB, free: 5.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.3571, allocations: 54.91 kB / 0.5276 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.3572, allocations: 100 kB / 0.5277 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.3594, allocations: 0.797 MB / 0.5285 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.362, allocations: 0.9825 MB / 0.5294 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.3677, allocations: 4.373 MB / 0.5337 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.3702, allocations: 247.6 kB / 0.5339 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/0.3705, allocations: 276 kB / 0.5342 GB, free: 14.88 MB / 462.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.001785/0.3723, allocations: 1.376 MB / 0.5355 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.3727, allocations: 242.4 kB / 0.5358 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.3765, allocations: 1.838 MB / 0.5376 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.3765, allocations: 12 kB / 0.5376 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3765, allocations: 7.984 kB / 0.5376 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3765, allocations: 11.98 kB / 0.5376 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.3846, allocations: 4.739 MB / 0.5422 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3846, allocations: 0 / 0.5422 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.3852, allocations: 131.8 kB / 0.5424 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/0.3872, allocations: 0.6482 MB / 0.543 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.3873, allocations: 28.03 kB / 0.543 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.3923, allocations: 3.853 MB / 0.5468 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3923, allocations: 3.938 kB / 0.5468 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1766/0.5689, allocations: 3.684 MB / 0.5504 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.5694, allocations: 236.4 kB / 0.5506 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5696, allocations: 16.3 kB / 0.5506 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/0.5704, allocations: 64.47 kB / 0.5507 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5706, allocations: 60.59 kB / 0.5507 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.5707, allocations: 27.8 kB / 0.5508 GB, free: 114.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.5729, allocations: 1.756 MB / 0.5525 GB, free: 114 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5729, allocations: 0 / 0.5525 GB, free: 114 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002695/0.5756, allocations: 0.6266 MB / 0.5531 GB, free: 113.9 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.004879/0.5805, allocations: 4.323 MB / 0.5573 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.5842, allocations: 3.291 MB / 0.5605 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5842, allocations: 0 / 0.5605 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.585, allocations: 0.8634 MB / 0.5614 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5863, allocations: 249.1 kB / 0.5616 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/0.6121, allocations: 30.24 MB / 0.5911 GB, free: 79.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.6134, allocations: 2.185 MB / 0.5933 GB, free: 77.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002112/0.6155, allocations: 1.399 MB / 0.5946 GB, free: 76.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/0.6164, allocations: 1.05 MB / 0.5957 GB, free: 75.04 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6164, allocations: 0 / 0.5957 GB, free: 75.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7716/1.388, allocations: 45.5 MB / 0.6401 GB, free: 29.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.01/21.4, allocations: 10.25 kB / 0.6401 GB, free: 29.77 MB / 462.1 MB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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: 25.181284444988705]