Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 112.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2147, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01298/0.2277, allocations: 13.44 MB / 423.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.2362, allocations: 4.877 MB / 428.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.2376, allocations: 87.75 kB / 428.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.2443, allocations: 4.171 MB / 432.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.2487, allocations: 2.175 MB / 434.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.2509, allocations: 1.103 MB / 435.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00718/0.2581, allocations: 6.056 MB / 441.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005774/0.2639, allocations: 5.297 MB / 447.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.2664, allocations: 2.158 MB / 449.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.27, allocations: 2.874 MB / 452.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.2708, allocations: 500 kB / 452.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.2734, allocations: 1.615 MB / 454.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.2754, allocations: 2.588 MB / 456.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.2778, allocations: 2.891 MB / 459.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008117/0.286, allocations: 9.519 MB / 469.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.286, allocations: 0 / 469.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.286, allocations: 4 kB / 469.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-05/0.2861, allocations: 0 / 469.3 MB, free: 6.031 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.009314/0.2954, allocations: 6.156 MB / 475.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2955, allocations: 12.03 kB / 475.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.3058, allocations: 2.568 MB / 478 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006372/0.3122, allocations: 3.778 MB / 481.8 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.3124, allocations: 304.3 kB / 482.1 MB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.3131, allocations: 447.7 kB / 482.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.3308, allocations: 12.41 MB / 494.9 MB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.331, allocations: 51.59 kB / 495 MB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.3315, allocations: 191.8 kB / 495.2 MB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.3343, allocations: 2.035 MB / 497.2 MB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.3529, allocations: 10.57 MB / 0.4959 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04596/0.3989, allocations: 44.23 MB / 0.5391 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1912/0.5901, allocations: 4.844 MB / 0.5438 GB, free: 121.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.5921, allocations: 2.009 MB / 0.5458 GB, free: 120.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008277/0.6004, allocations: 7.204 MB / 0.5528 GB, free: 117.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6005, allocations: 61.23 kB / 0.5529 GB, free: 117.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 3.346e-06/0.6005, allocations: 0 / 0.5529 GB, free: 117.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05585/0.6563, allocations: 19.76 MB / 0.5722 GB, free: 103 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.6564, allocations: 205.9 kB / 0.5724 GB, free: 102.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.6606, allocations: 4.477 MB / 0.5767 GB, free: 98.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.6607, allocations: 57.7 kB / 0.5768 GB, free: 98.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.662, allocations: 3.647 MB / 0.5803 GB, free: 94.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.6624, allocations: 0.8815 MB / 0.5812 GB, free: 94.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.6637, allocations: 1.35 MB / 0.5825 GB, free: 92.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.044e-05/0.6637, allocations: 305.1 kB / 0.5828 GB, free: 92.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/0.6664, allocations: 2.367 MB / 0.5851 GB, free: 90.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.6701, allocations: 6.163 MB / 0.5911 GB, free: 81.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/0.6768, allocations: 9.179 MB / 0.6001 GB, free: 70.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/0.6769, allocations: 36 kB / 0.6001 GB, free: 70.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01283/0.6897, allocations: 9.579 MB / 0.6095 GB, free: 61.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.6898, allocations: 64 kB / 0.6096 GB, free: 61.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-05/0.6899, allocations: 132 kB / 0.6097 GB, free: 61.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/0.6936, allocations: 1.375 MB / 0.611 GB, free: 59.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/0.6973, allocations: 1.478 MB / 0.6125 GB, free: 58.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009388/0.7067, allocations: 8.481 MB / 0.6207 GB, free: 49.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.7103, allocations: 343.6 kB / 0.6211 GB, free: 49.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.7107, allocations: 397.3 kB / 0.6215 GB, free: 48.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002522/0.7132, allocations: 2.486 MB / 0.6239 GB, free: 46.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.7137, allocations: 421.1 kB / 0.6243 GB, free: 46.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007069/0.7208, allocations: 4.13 MB / 0.6283 GB, free: 41.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.7208, allocations: 19.91 kB / 0.6283 GB, free: 41.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7208, allocations: 0 / 0.6283 GB, free: 41.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.7213, allocations: 466.1 kB / 0.6288 GB, free: 41.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.7217, allocations: 37.11 kB / 0.6288 GB, free: 41.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.7232, allocations: 111.9 kB / 0.6289 GB, free: 41.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.7235, allocations: 141.8 kB / 0.6291 GB, free: 41.11 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007467/0.731, allocations: 4.567 MB / 0.6335 GB, free: 36.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005907/0.7369, allocations: 5.799 MB / 0.6392 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001579/0.7385, allocations: 1.53 MB / 0.6407 GB, free: 29.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003107/0.7416, allocations: 2.798 MB / 0.6434 GB, free: 26.42 MB / 462.1 MB Notification: Performance of Backend: time 3.01e-07/0.7416, allocations: 0 / 0.6434 GB, free: 26.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.7489, allocations: 4.761 MB / 0.6481 GB, free: 21.68 MB / 462.1 MB Notification: Performance of SimCode: time 0.01239/0.7613, allocations: 11.1 MB / 0.6589 GB, free: 10.53 MB / 462.1 MB Notification: Performance of Templates: time 0.08786/0.8492, allocations: 54.2 MB / 0.7118 GB, free: 4.57 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches