Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.3 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.001741/0.001741, allocations: 51.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08502, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.176/0.2611, allocations: 7.119 MB / 381.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.2664, allocations: 3.159 MB / 384.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.2674, allocations: 38.56 kB / 385 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2692, allocations: 0.7863 MB / 385.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2725, allocations: 1.312 MB / 387.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2737, allocations: 0.4929 MB / 387.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003698/0.2774, allocations: 2.537 MB / 390.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.2791, allocations: 1.165 MB / 391.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.2805, allocations: 0.761 MB / 392 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2821, allocations: 1.112 MB / 393.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.2825, allocations: 135.2 kB / 393.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.2845, allocations: 0.8722 MB / 394.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.2857, allocations: 0.9982 MB / 395.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.2871, allocations: 1.205 MB / 396.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.2918, allocations: 3.997 MB / 400.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2918, allocations: 0 / 400.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2918, allocations: 0 / 400.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.2919, allocations: 1.031 kB / 400.3 MB, free: 1.48 MB / 318.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.0064/0.2983, allocations: 2.981 MB / 403.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.2984, allocations: 14.48 kB / 403.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000879/0.2993, allocations: 457.3 kB / 403.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.3058, allocations: 1.67 MB / 405.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.3101, allocations: 1.784 MB / 407.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.3103, allocations: 120.3 kB / 407.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006031/0.3109, allocations: 161 kB / 407.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3223, allocations: 6.36 MB / 413.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.3224, allocations: 35.73 kB / 413.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.3227, allocations: 79.89 kB / 414 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.3254, allocations: 1.429 MB / 415.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3361, allocations: 5.679 MB / 421.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/0.3694, allocations: 26.26 MB / 447.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.374, allocations: 2.269 MB / 449.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3754, allocations: 1.028 MB / 450.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.3754, allocations: 8 kB / 450.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.3755, allocations: 47 kB / 450.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.407e-06/0.3755, allocations: 0 / 450.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02235/0.3979, allocations: 8.774 MB / 459.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.398, allocations: 148.5 kB / 459.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/0.4025, allocations: 2.852 MB / 462.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.4028, allocations: 41.69 kB / 462.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.4046, allocations: 2.174 MB / 464.7 MB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.4051, allocations: 448.7 kB / 465.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.4065, allocations: 0.8854 MB / 466 MB, free: 2.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4066, allocations: 305.1 kB / 466.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.4089, allocations: 1.41 MB / 467.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/0.4136, allocations: 4.238 MB / 472 MB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/0.4213, allocations: 6.115 MB / 478.1 MB, free: 3.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-05/0.4214, allocations: 32 kB / 478.1 MB, free: 3.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01221/0.4337, allocations: 6.098 MB / 484.2 MB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.4338, allocations: 48 kB / 484.2 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.4339, allocations: 100 kB / 484.3 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/0.4364, allocations: 0.8049 MB / 485.1 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/0.4396, allocations: 0.9786 MB / 486.1 MB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.446, allocations: 4.484 MB / 490.6 MB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.4495, allocations: 247.7 kB / 490.9 MB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007712/0.4503, allocations: 272 kB / 491.1 MB, free: 6.512 MB / 414.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.002958/0.4533, allocations: 1.375 MB / 492.5 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006092/0.4539, allocations: 246.3 kB / 492.7 MB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.4583, allocations: 1.853 MB / 494.6 MB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.4584, allocations: 16 kB / 494.6 MB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.4584, allocations: 7.938 kB / 494.6 MB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.4585, allocations: 11.92 kB / 494.6 MB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.4689, allocations: 4.802 MB / 499.4 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4689, allocations: 0 / 499.4 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.4696, allocations: 131.8 kB / 499.6 MB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.4718, allocations: 0.6444 MB / 0.4885 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.472, allocations: 23.98 kB / 0.4885 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005338/0.4773, allocations: 3.955 MB / 0.4924 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4774, allocations: 0 / 0.4924 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/0.4835, allocations: 3.71 MB / 0.496 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4845, allocations: 451.2 kB / 0.4964 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.4848, allocations: 19.94 kB / 0.4964 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008919/0.4857, allocations: 63.84 kB / 0.4965 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.4859, allocations: 55.92 kB / 0.4965 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.486, allocations: 32.06 kB / 0.4966 GB, free: 4.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002878/0.4889, allocations: 1.77 MB / 0.4983 GB, free: 3.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4889, allocations: 3.938 kB / 0.4983 GB, free: 3.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003392/0.4923, allocations: 0.6445 MB / 0.4989 GB, free: 2.398 MB / 430.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.00652/0.4988, allocations: 4.32 MB / 0.5032 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.5047, allocations: 3.406 MB / 0.5065 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5048, allocations: 0 / 0.5065 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.5061, allocations: 0.9355 MB / 0.5074 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.5079, allocations: 263.9 kB / 0.5076 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04766/0.5556, allocations: 30.29 MB / 0.5372 GB, free: 7.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/0.5583, allocations: 2.192 MB / 0.5394 GB, free: 5.062 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003234/0.5615, allocations: 1.404 MB / 0.5407 GB, free: 3.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/0.5634, allocations: 1.054 MB / 0.5418 GB, free: 2.598 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5634, allocations: 4 kB / 0.5418 GB, free: 2.594 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/0.8236, allocations: 41.82 MB / 0.5826 GB, free: 136.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.69, allocations: 7.906 kB / 0.5826 GB, free: 136.9 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches