Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.00108/0.00108, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2218, allocations: 49.42 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007462/0.2293, allocations: 7.124 MB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.2344, allocations: 3.139 MB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.2349, allocations: 31.94 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.2364, allocations: 0.7859 MB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.2389, allocations: 1.347 MB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.2398, allocations: 499 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.2423, allocations: 2.53 MB / 416.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2435, allocations: 1.157 MB / 418 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.2442, allocations: 0.7666 MB / 418.8 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.2454, allocations: 1.102 MB / 419.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.2456, allocations: 140 kB / 420 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.2469, allocations: 0.8775 MB / 420.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007499/0.2477, allocations: 0.9972 MB / 421.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.2486, allocations: 1.199 MB / 423.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.2519, allocations: 3.956 MB / 427 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2519, allocations: 7.938 kB / 427.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2519, allocations: 0 / 427.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.2519, allocations: 0 / 427.1 MB, free: 15.09 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.004227/0.2562, allocations: 2.886 MB / 429.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2562, allocations: 8.031 kB / 429.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00603/0.2622, allocations: 1.639 MB / 431.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.2647, allocations: 1.328 MB / 432.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.2648, allocations: 118.8 kB / 433 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.2651, allocations: 159.8 kB / 433.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007869/0.273, allocations: 6.363 MB / 439.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.273, allocations: 31.75 kB / 439.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.2733, allocations: 79.89 kB / 439.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.2757, allocations: 1.441 MB / 441.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/0.2844, allocations: 5.67 MB / 446.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.311, allocations: 26.21 MB / 473 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.3154, allocations: 2.262 MB / 475.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.3169, allocations: 1.023 MB / 476.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.3169, allocations: 15.98 kB / 476.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.317, allocations: 42.5 kB / 476.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 4.849e-06/0.317, allocations: 0 / 476.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02191/0.3389, allocations: 8.585 MB / 484.9 MB, free: 3.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.339, allocations: 140.5 kB / 485 MB, free: 3.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/0.3426, allocations: 2.827 MB / 487.9 MB, free: 448 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/0.3427, allocations: 33.7 kB / 487.9 MB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.344, allocations: 2.071 MB / 490 MB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.3444, allocations: 442.6 kB / 490.4 MB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.3455, allocations: 0.8847 MB / 491.3 MB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.3456, allocations: 301.1 kB / 491.6 MB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.3476, allocations: 1.418 MB / 493 MB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.3513, allocations: 4.246 MB / 497.2 MB, free: 5.562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006538/0.3579, allocations: 6.129 MB / 0.4916 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-05/0.3579, allocations: 32 kB / 0.4916 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009987/0.3679, allocations: 6.109 MB / 0.4976 GB, free: 7.875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.368, allocations: 48 kB / 0.4976 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.3681, allocations: 103.9 kB / 0.4977 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.3704, allocations: 0.8046 MB / 0.4985 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/0.3733, allocations: 0.9864 MB / 0.4995 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/0.3791, allocations: 4.472 MB / 0.5038 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.3819, allocations: 251.5 kB / 0.5041 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/0.3823, allocations: 280 kB / 0.5043 GB, free: 0.8008 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 (537): * Single equations (assignments): 533 * 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.002004/0.3843, allocations: 1.364 MB / 0.5057 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.3848, allocations: 229.4 kB / 0.5059 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.3889, allocations: 1.849 MB / 0.5077 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3889, allocations: 7.984 kB / 0.5077 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3889, allocations: 3.938 kB / 0.5077 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.3895, allocations: 293.9 kB / 0.508 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.3899, allocations: 19.92 kB / 0.508 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.3909, allocations: 59.92 kB / 0.5081 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.391, allocations: 64.33 kB / 0.5081 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004536/0.3956, allocations: 2.41 MB / 0.5105 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003866/0.3995, allocations: 3.016 MB / 0.5134 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000925/0.4004, allocations: 0.721 MB / 0.5141 GB, free: 6.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002866/0.4033, allocations: 1.754 MB / 0.5158 GB, free: 4.938 MB / 446.1 MB Notification: Performance of Backend: time 4.71e-07/0.4033, allocations: 0 / 0.5158 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00614/0.4094, allocations: 2.981 MB / 0.5188 GB, free: 1.957 MB / 446.1 MB Notification: Performance of SimCode: time 0.008685/0.4181, allocations: 5.783 MB / 0.5244 GB, free: 12.12 MB / 462.1 MB Notification: Performance of Templates: time 0.2063/0.6244, allocations: 28.71 MB / 0.5524 GB, free: 125.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches