Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001483, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2023, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01378/0.2161, allocations: 14.97 MB / 424.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.2233, allocations: 4.83 MB / 429.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.2241, allocations: 91.75 kB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.229, allocations: 3.153 MB / 433 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.2329, allocations: 2.506 MB / 435.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2344, allocations: 0.9905 MB / 436.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.241, allocations: 7.04 MB / 443.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003789/0.2448, allocations: 4.342 MB / 447.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.2469, allocations: 2.215 MB / 450.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.25, allocations: 3.225 MB / 453.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006842/0.2507, allocations: 484 kB / 453.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.2528, allocations: 1.498 MB / 455.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.2549, allocations: 2.86 MB / 458.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.2574, allocations: 3.211 MB / 461.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007901/0.2653, allocations: 10.35 MB / 471.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2653, allocations: 0 / 471.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2653, allocations: 0 / 471.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.629e-05/0.2654, allocations: 0 / 471.7 MB, free: 3.598 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01133/0.2767, allocations: 7.248 MB / 478.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2768, allocations: 8.031 kB / 478.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.2917, allocations: 3.939 MB / 482.9 MB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.2994, allocations: 4.106 MB / 487 MB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.2996, allocations: 316.4 kB / 487.3 MB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007759/0.3004, allocations: 443.5 kB / 487.7 MB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.3207, allocations: 15.71 MB / 0.4916 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.3209, allocations: 59.47 kB / 0.4917 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005418/0.3214, allocations: 203.8 kB / 0.4919 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004534/0.326, allocations: 3.223 MB / 0.495 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.3488, allocations: 14.11 MB / 0.5088 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.241/0.5898, allocations: 57.49 MB / 0.565 GB, free: 84.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6013, allocations: 6.573 MB / 0.5714 GB, free: 81.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.6046, allocations: 3.676 MB / 0.575 GB, free: 80.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01579/0.6204, allocations: 14.64 MB / 0.5893 GB, free: 72.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.6205, allocations: 61.19 kB / 0.5893 GB, free: 72.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=289): time 4.569e-06/0.6205, allocations: 3.312 kB / 0.5893 GB, free: 72.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.13/0.7505, allocations: 42.35 MB / 0.6307 GB, free: 30.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.7506, allocations: 210 kB / 0.6309 GB, free: 30.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/0.756, allocations: 5.474 MB / 0.6362 GB, free: 24.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004386/0.7564, allocations: 73.7 kB / 0.6363 GB, free: 24.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.758, allocations: 4.354 MB / 0.6406 GB, free: 20.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008244/0.7588, allocations: 1.253 MB / 0.6418 GB, free: 18.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/0.7609, allocations: 1.852 MB / 0.6436 GB, free: 17.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.155e-05/0.7609, allocations: 309.1 kB / 0.6439 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/0.7661, allocations: 4.804 MB / 0.6486 GB, free: 11.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/0.7728, allocations: 9.811 MB / 0.6582 GB, free: 15.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.7898, allocations: 15.57 MB / 0.6734 GB, free: 13.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-05/0.7899, allocations: 48 kB / 0.6734 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04082/0.8307, allocations: 19.57 MB / 0.6925 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/0.8309, allocations: 80 kB / 0.6926 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.831, allocations: 172 kB / 0.6928 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02237/0.8534, allocations: 5.94 MB / 0.6986 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006685/0.8601, allocations: 2.109 MB / 0.7006 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03338/0.8935, allocations: 26.14 MB / 0.7261 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006402/0.8999, allocations: 0.5561 MB / 0.7267 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000695/0.9006, allocations: 0.5078 MB / 0.7272 GB, free: 6.289 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004109/0.9047, allocations: 3.1 MB / 0.7302 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/0.9055, allocations: 0.4976 MB / 0.7307 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03069/0.9362, allocations: 12.93 MB / 0.7433 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.9363, allocations: 11.95 kB / 0.7433 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9363, allocations: 7.938 kB / 0.7433 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.9375, allocations: 0.522 MB / 0.7439 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/0.9382, allocations: 49.91 kB / 0.7439 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/0.941, allocations: 265.6 kB / 0.7442 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.9416, allocations: 205.7 kB / 0.7444 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.197/1.139, allocations: 10.46 MB / 0.7546 GB, free: 196.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0132/1.152, allocations: 12.86 MB / 0.7671 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003451/1.155, allocations: 3.637 MB / 0.7707 GB, free: 189.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003722/1.159, allocations: 3.395 MB / 0.774 GB, free: 188.8 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/1.159, allocations: 0 / 0.774 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.171, allocations: 7.957 MB / 0.7818 GB, free: 184 MB / 0.545 GB Notification: Performance of SimCode: time 0.01607/1.187, allocations: 13.38 MB / 0.7948 GB, free: 171.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1099/1.297, allocations: 91.22 MB / 0.8839 GB, free: 81.96 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches