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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001386, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001805, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 50.54 MB / 408.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007334/0.3551, allocations: 7.089 MB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.3607, allocations: 3.158 MB / 419 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.3615, allocations: 35.88 kB / 419 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.363, allocations: 0.7899 MB / 419.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.3654, allocations: 1.288 MB / 421.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.3663, allocations: 498.9 kB / 421.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.3692, allocations: 2.559 MB / 424.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3705, allocations: 1.153 MB / 425.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.3714, allocations: 0.7549 MB / 426.1 MB, free: 188 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.3728, allocations: 1.102 MB / 427.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.3731, allocations: 132 kB / 427.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3746, allocations: 0.8619 MB / 428.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009064/0.3755, allocations: 0.9855 MB / 429.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.3766, allocations: 1.18 MB / 430.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.3812, allocations: 3.929 MB / 434.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3812, allocations: 0 / 434.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3813, allocations: 0 / 434.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.495e-05/0.3813, allocations: 0 / 434.3 MB, free: 7.969 MB / 350.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.006338/0.3877, allocations: 2.883 MB / 437.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.773e-05/0.3878, allocations: 8.031 kB / 437.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006672/0.3884, allocations: 454 kB / 437.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/0.3945, allocations: 1.647 MB / 439.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.3985, allocations: 1.527 MB / 440.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.3987, allocations: 114.9 kB / 440.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.3991, allocations: 155.9 kB / 441 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4106, allocations: 6.363 MB / 447.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.4108, allocations: 35.66 kB / 447.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006217/0.4115, allocations: 79.89 kB / 447.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002938/0.4144, allocations: 1.433 MB / 448.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.4277, allocations: 5.674 MB / 454.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04036/0.4681, allocations: 26.21 MB / 480.8 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.4729, allocations: 2.253 MB / 483.1 MB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4745, allocations: 1.029 MB / 484.1 MB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/0.4746, allocations: 11.98 kB / 484.1 MB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.4746, allocations: 50.48 kB / 484.2 MB, free: 4.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 4.468e-06/0.4746, allocations: 0 / 484.2 MB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.0231/0.4977, allocations: 8.585 MB / 492.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.4979, allocations: 148.4 kB / 492.9 MB, free: 11.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006462/0.5043, allocations: 2.819 MB / 495.7 MB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.5045, allocations: 33.7 kB / 495.7 MB, free: 8.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.5063, allocations: 2.067 MB / 497.8 MB, free: 6.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006628/0.507, allocations: 442.6 kB / 498.2 MB, free: 6.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.5086, allocations: 0.8845 MB / 499.1 MB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5087, allocations: 305.1 kB / 499.4 MB, free: 4.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.5112, allocations: 1.406 MB / 0.4891 GB, free: 3.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/0.516, allocations: 4.234 MB / 0.4932 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/0.5237, allocations: 6.121 MB / 0.4992 GB, free: 6.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/0.5238, allocations: 28 kB / 0.4992 GB, free: 6.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01249/0.5363, allocations: 6.084 MB / 0.5052 GB, free: 168 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5365, allocations: 48 kB / 0.5052 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.5367, allocations: 103.9 kB / 0.5053 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.5391, allocations: 0.8013 MB / 0.5061 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.5424, allocations: 0.9786 MB / 0.5071 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.5487, allocations: 4.483 MB / 0.5114 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.5524, allocations: 243.7 kB / 0.5117 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/0.5533, allocations: 276 kB / 0.5119 GB, free: 9.102 MB / 446.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.003145/0.5564, allocations: 1.371 MB / 0.5133 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/0.557, allocations: 229 kB / 0.5135 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.5616, allocations: 1.849 MB / 0.5153 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.5617, allocations: 19.94 kB / 0.5153 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5617, allocations: 0 / 0.5153 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.5617, allocations: 7.984 kB / 0.5153 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.5728, allocations: 4.79 MB / 0.52 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.5729, allocations: 384 / 0.52 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.5735, allocations: 131.8 kB / 0.5201 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.5758, allocations: 0.6522 MB / 0.5208 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5759, allocations: 23.92 kB / 0.5208 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.5812, allocations: 3.944 MB / 0.5246 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.5813, allocations: 3.938 kB / 0.5246 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006333/0.5876, allocations: 3.692 MB / 0.5282 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/0.5886, allocations: 286 kB / 0.5285 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007253/0.5894, allocations: 19.94 kB / 0.5285 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5907, allocations: 63.89 kB / 0.5286 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.591, allocations: 63.92 kB / 0.5287 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/0.5911, allocations: 28 kB / 0.5287 GB, free: 7.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004254/0.5953, allocations: 1.754 MB / 0.5304 GB, free: 5.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5954, allocations: 0 / 0.5304 GB, free: 5.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004353/0.5997, allocations: 0.625 MB / 0.531 GB, free: 5.246 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.00675/0.6065, allocations: 4.322 MB / 0.5352 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2687/0.8751, allocations: 3.398 MB / 0.5386 GB, free: 128.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.8752, allocations: 3.938 kB / 0.5386 GB, free: 128.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8766, allocations: 0.9361 MB / 0.5395 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.8786, allocations: 249.8 kB / 0.5397 GB, free: 128 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.9157, allocations: 30.09 MB / 0.5691 GB, free: 99.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.9176, allocations: 2.189 MB / 0.5712 GB, free: 97.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002452/0.92, allocations: 1.4 MB / 0.5726 GB, free: 96.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.9213, allocations: 1.046 MB / 0.5736 GB, free: 95.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.9213, allocations: 4 kB / 0.5736 GB, free: 95.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07409/0.9954, allocations: 42.33 MB / 0.615 GB, free: 53.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/20.23, allocations: 3.938 kB / 0.615 GB, free: 53.07 MB / 462.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches