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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009998/0.0009998, allocations: 100.3 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009095/0.0009095, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2021, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04075/0.2428, allocations: 55.43 MB / 462.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02611/0.269, allocations: 11.96 MB / 474.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009443/0.2785, allocations: 243.4 kB / 474.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007377/0.2859, allocations: 4.177 MB / 478.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.2907, allocations: 2.009 MB / 480.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.2929, allocations: 1.01 MB / 481.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009547/0.3025, allocations: 8.827 MB / 490.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00617/0.3087, allocations: 5.214 MB / 495.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3118, allocations: 1.904 MB / 497.8 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.3158, allocations: 3.038 MB / 0.4891 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.3169, allocations: 347.9 kB / 0.4895 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.3197, allocations: 1.553 MB / 0.491 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002069/0.3218, allocations: 2.443 MB / 0.4934 GB, free: 9.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.3243, allocations: 2.746 MB / 0.496 GB, free: 6.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1923/0.5166, allocations: 9.176 MB / 0.505 GB, free: 18.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5167, allocations: 0 / 0.505 GB, free: 18.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5167, allocations: 0 / 0.505 GB, free: 18.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002745/0.517, allocations: 0 / 0.505 GB, free: 18.34 MB / 378.7 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.01055/0.5275, allocations: 6.027 MB / 0.5109 GB, free: 16.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5276, allocations: 11.59 kB / 0.5109 GB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.5382, allocations: 2.541 MB / 0.5134 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007854/0.546, allocations: 3.688 MB / 0.517 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.5463, allocations: 303.2 kB / 0.5173 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.5473, allocations: 448 kB / 0.5177 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.567, allocations: 12.4 MB / 0.5298 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.5671, allocations: 59.09 kB / 0.5299 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004866/0.5676, allocations: 183.9 kB / 0.53 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/0.5703, allocations: 2.037 MB / 0.532 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.5874, allocations: 10.56 MB / 0.5423 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04867/0.6361, allocations: 44.37 MB / 0.5857 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.6485, allocations: 4.843 MB / 0.5904 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.651, allocations: 2.006 MB / 0.5924 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.6619, allocations: 7.12 MB / 0.5993 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.662, allocations: 60.2 kB / 0.5994 GB, free: 14.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 4.007e-06/0.662, allocations: 0 / 0.5994 GB, free: 14.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=223): time 0.06239/0.7244, allocations: 19.59 MB / 0.6185 GB, free: 10.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.7245, allocations: 208.5 kB / 0.6187 GB, free: 10.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/0.73, allocations: 4.469 MB / 0.6231 GB, free: 6.121 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000334/0.7304, allocations: 59.12 kB / 0.6231 GB, free: 6.059 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.7325, allocations: 3.516 MB / 0.6266 GB, free: 2.559 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007932/0.7333, allocations: 0.8412 MB / 0.6274 GB, free: 1.727 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.7349, allocations: 1.341 MB / 0.6287 GB, free: 384 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.735, allocations: 301.1 kB / 0.629 GB, free: 80 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/0.7382, allocations: 2.364 MB / 0.6313 GB, free: 13.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005329/0.7435, allocations: 6.16 MB / 0.6373 GB, free: 5.746 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009517/0.7531, allocations: 9.171 MB / 0.6463 GB, free: 11.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.596e-05/0.7532, allocations: 44 kB / 0.6463 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01556/0.7687, allocations: 9.541 MB / 0.6556 GB, free: 2.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.7688, allocations: 65.75 kB / 0.6557 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.769, allocations: 136.1 kB / 0.6558 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.7731, allocations: 1.374 MB / 0.6571 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/0.7773, allocations: 1.478 MB / 0.6586 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.7892, allocations: 7.961 MB / 0.6664 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/0.794, allocations: 351.5 kB / 0.6667 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007424/0.7948, allocations: 389.3 kB / 0.6671 GB, free: 6.812 MB / 0.4948 GB 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.003535/0.7983, allocations: 2.491 MB / 0.6695 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/0.7992, allocations: 398.8 kB / 0.6699 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/0.8077, allocations: 4.122 MB / 0.6739 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/0.8078, allocations: 31.42 kB / 0.6739 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.8078, allocations: 8 kB / 0.6739 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.8078, allocations: 7.969 kB / 0.674 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.827, allocations: 10.37 MB / 0.6841 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.8271, allocations: 8.594 kB / 0.6841 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.8287, allocations: 345.5 kB / 0.6844 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003829/0.8326, allocations: 1.149 MB / 0.6855 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.8328, allocations: 51.73 kB / 0.6856 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2184/1.051, allocations: 6.658 MB / 0.6921 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.051, allocations: 8.969 kB / 0.6921 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07656/1.128, allocations: 43.35 MB / 0.7344 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/1.128, allocations: 455.7 kB / 0.7349 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.129, allocations: 35.56 kB / 0.7349 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.13, allocations: 110.4 kB / 0.735 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.131, allocations: 155.7 kB / 0.7352 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.131, allocations: 58.38 kB / 0.7352 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002988/1.134, allocations: 2.807 MB / 0.738 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-07/1.134, allocations: 0 / 0.738 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005204/1.139, allocations: 1.599 MB / 0.7395 GB, free: 133.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004992/1.14, allocations: 233.9 kB / 0.7397 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0071/1.147, allocations: 5.747 MB / 0.7454 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.147, allocations: 0 / 0.7454 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.149, allocations: 1.874 MB / 0.7472 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.152, allocations: 0.5109 MB / 0.7477 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.168, allocations: 15.26 MB / 0.7626 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.171, allocations: 3.947 MB / 0.7664 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004364/1.176, allocations: 1.949 MB / 0.7683 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/1.176, allocations: 279.4 kB / 0.7686 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.176, allocations: 0 / 0.7686 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.07147/1.248, allocations: 56.05 MB / 0.8233 GB, free: 48.68 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches