Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009675/0.0009672, allocations: 174.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 92.92 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 11.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2648, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01055/0.2754, allocations: 12.66 MB / 387.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.2833, allocations: 4.007 MB / 391.8 MB, free: 32.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.2858, allocations: 51.88 kB / 391.8 MB, free: 31.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.2876, allocations: 0.6143 MB / 392.4 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.293, allocations: 2.152 MB / 394.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2944, allocations: 455.2 kB / 395 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.2976, allocations: 2.75 MB / 397.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.2997, allocations: 1.384 MB / 399.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.3011, allocations: 0.7004 MB / 399.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.3026, allocations: 1.149 MB / 401 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.303, allocations: 76 kB / 401.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3047, allocations: 0.8618 MB / 401.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.3057, allocations: 0.9544 MB / 402.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.3071, allocations: 1.093 MB / 404 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.3098, allocations: 2.951 MB / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3098, allocations: 0 / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3098, allocations: 0 / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.3099, allocations: 0 / 406.9 MB, free: 16.75 MB / 298.7 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.004542/0.3145, allocations: 2.407 MB / 409.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3145, allocations: 8.031 kB / 409.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.3197, allocations: 1.69 MB / 411 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.3222, allocations: 1.375 MB / 412.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3223, allocations: 118.8 kB / 412.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007306/0.323, allocations: 155.9 kB / 412.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008925/0.332, allocations: 6.355 MB / 419 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/0.3321, allocations: 31.75 kB / 419.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.3324, allocations: 83.89 kB / 419.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.3343, allocations: 1.433 MB / 420.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009742/0.344, allocations: 5.658 MB / 426.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.3749, allocations: 26.29 MB / 452.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.3795, allocations: 2.258 MB / 454.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.381, allocations: 1.02 MB / 455.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.3811, allocations: 11.98 kB / 455.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3811, allocations: 54.25 kB / 455.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 4.207e-06/0.3811, allocations: 0 / 455.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.021/0.4021, allocations: 8.567 MB / 464.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.4023, allocations: 136.5 kB / 464.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.4065, allocations: 2.812 MB / 467.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.4068, allocations: 41.7 kB / 467.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.4084, allocations: 2.067 MB / 469.5 MB, free: 340 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.409, allocations: 438.8 kB / 469.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.4092, allocations: 88 kB / 470 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.4095, allocations: 0.4918 MB / 470.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.4116, allocations: 1.402 MB / 471.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.4157, allocations: 4.223 MB / 476.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/0.4225, allocations: 6.122 MB / 482.3 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.508e-05/0.4226, allocations: 31.94 kB / 482.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01028/0.4329, allocations: 6.076 MB / 488.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.433, allocations: 48 kB / 488.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.379e-05/0.4331, allocations: 100 kB / 488.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.4353, allocations: 0.8052 MB / 489.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.438, allocations: 0.9981 MB / 490.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.4434, allocations: 4.14 MB / 494.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.4462, allocations: 243.6 kB / 494.7 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/0.4466, allocations: 276 kB / 495 MB, free: 3.855 MB / 378.7 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 (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002051/0.4487, allocations: 1.375 MB / 496.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.4491, allocations: 237 kB / 496.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.4528, allocations: 1.841 MB / 498.4 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.4529, allocations: 12 kB / 498.4 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4529, allocations: 8 kB / 498.4 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4529, allocations: 8.078 kB / 498.4 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/0.4614, allocations: 4.797 MB / 0.4914 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4614, allocations: 0 / 0.4914 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.462, allocations: 135.9 kB / 0.4916 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.464, allocations: 0.6444 MB / 0.4922 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.4641, allocations: 20 kB / 0.4922 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.4689, allocations: 3.702 MB / 0.4958 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4689, allocations: 4.031 kB / 0.4958 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.4745, allocations: 3.679 MB / 0.4994 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009205/0.4754, allocations: 449.7 kB / 0.4998 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.4756, allocations: 19.98 kB / 0.4999 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.4765, allocations: 55.92 kB / 0.4999 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4766, allocations: 59.98 kB / 0.5 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.4767, allocations: 27.94 kB / 0.5 GB, free: 2.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002557/0.4793, allocations: 1.754 MB / 0.5017 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4793, allocations: 0 / 0.5017 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003323/0.4826, allocations: 0.6445 MB / 0.5023 GB, free: 92 kB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2106/0.6932, allocations: 142 kB / 0.5025 GB, free: 125.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00765/0.7009, allocations: 3.395 MB / 0.5058 GB, free: 124.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.701, allocations: 0 / 0.5058 GB, free: 124.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.7025, allocations: 0.9359 MB / 0.5067 GB, free: 124.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.7047, allocations: 249.5 kB / 0.507 GB, free: 124.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.716, allocations: 6.719 MB / 0.5135 GB, free: 120.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.7181, allocations: 2.189 MB / 0.5156 GB, free: 119.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/0.7187, allocations: 194.5 kB / 0.5158 GB, free: 119.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7187, allocations: 4 kB / 0.5158 GB, free: 119.8 MB / 394.7 MB Notification: Performance of Templates: time 0.0604/0.7791, allocations: 46.75 MB / 0.5615 GB, free: 74.92 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches