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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2116, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00741/0.2191, allocations: 7.082 MB / 417 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.2237, allocations: 3.166 MB / 420.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.2241, allocations: 35.88 kB / 420.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.2255, allocations: 0.782 MB / 421 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.2277, allocations: 1.312 MB / 422.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.2285, allocations: 495 kB / 422.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.2309, allocations: 2.563 MB / 425.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2321, allocations: 1.161 MB / 426.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.2327, allocations: 0.7472 MB / 427.3 MB, free: 216 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.2339, allocations: 1.098 MB / 428.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.2341, allocations: 136 kB / 428.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.2352, allocations: 0.8619 MB / 429.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007127/0.2359, allocations: 0.9855 MB / 430.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008428/0.2368, allocations: 1.176 MB / 431.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.2398, allocations: 3.921 MB / 435.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2399, allocations: 0 / 435.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2399, allocations: 0 / 435.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.2399, allocations: 0 / 435.4 MB, free: 8.012 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.004063/0.244, allocations: 2.871 MB / 438.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.244, allocations: 8.031 kB / 438.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005855/0.2499, allocations: 1.647 MB / 440 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.2518, allocations: 1.297 MB / 441.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.2519, allocations: 118.9 kB / 441.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.2522, allocations: 163.8 kB / 441.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/0.2598, allocations: 6.355 MB / 447.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/0.2599, allocations: 31.66 kB / 447.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.2601, allocations: 83.89 kB / 448 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.2624, allocations: 1.445 MB / 449.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008359/0.2708, allocations: 5.666 MB / 455.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.296, allocations: 26.2 MB / 481.3 MB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.3002, allocations: 2.255 MB / 483.6 MB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3014, allocations: 1.029 MB / 484.6 MB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.3015, allocations: 11.98 kB / 484.6 MB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3015, allocations: 46.56 kB / 484.7 MB, free: 5.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 4.488e-06/0.3015, allocations: 0 / 484.7 MB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02036/0.3219, allocations: 8.583 MB / 493.3 MB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.322, allocations: 136.5 kB / 493.4 MB, free: 12.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.3255, allocations: 2.807 MB / 496.2 MB, free: 9.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.3256, allocations: 41.7 kB / 496.2 MB, free: 9.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.3269, allocations: 2.067 MB / 498.3 MB, free: 7.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.3273, allocations: 438.6 kB / 498.7 MB, free: 6.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.3284, allocations: 0.8925 MB / 499.6 MB, free: 5.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.3285, allocations: 301.1 kB / 499.9 MB, free: 5.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.3305, allocations: 1.418 MB / 0.4896 GB, free: 4.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.3343, allocations: 4.246 MB / 0.4937 GB, free: 14.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/0.3405, allocations: 6.137 MB / 0.4997 GB, free: 7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-05/0.3406, allocations: 35.94 kB / 0.4998 GB, free: 6.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01017/0.3508, allocations: 6.098 MB / 0.5057 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.3508, allocations: 49 kB / 0.5058 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/0.351, allocations: 104 kB / 0.5059 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.3533, allocations: 0.8006 MB / 0.5066 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.356, allocations: 0.9941 MB / 0.5076 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.3616, allocations: 4.46 MB / 0.512 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.3641, allocations: 255.5 kB / 0.5122 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.3645, allocations: 276 kB / 0.5125 GB, free: 9.789 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 (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.001764/0.3663, allocations: 1.371 MB / 0.5138 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.3666, allocations: 229 kB / 0.514 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.3705, allocations: 1.853 MB / 0.5158 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3705, allocations: 3.984 kB / 0.5158 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3705, allocations: 3.938 kB / 0.5158 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.3709, allocations: 289.9 kB / 0.5161 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.3712, allocations: 20 kB / 0.5161 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.3721, allocations: 55.91 kB / 0.5162 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3723, allocations: 68.34 kB / 0.5163 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004265/0.3766, allocations: 2.407 MB / 0.5186 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003517/0.3801, allocations: 3.02 MB / 0.5216 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008803/0.381, allocations: 0.7128 MB / 0.5223 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002541/0.3835, allocations: 1.758 MB / 0.524 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Backend: time 2.61e-07/0.3835, allocations: 0 / 0.524 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00595/0.3895, allocations: 2.985 MB / 0.5269 GB, free: 10.94 MB / 462.1 MB Notification: Performance of SimCode: time 0.008406/0.3979, allocations: 5.774 MB / 0.5325 GB, free: 5.102 MB / 462.1 MB Notification: Performance of Templates: time 0.207/0.605, allocations: 28.6 MB / 0.5605 GB, free: 111.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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