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.001391/0.001391, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 59.61 kB / 307.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 50.54 MB / 358.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0166/0.1328, allocations: 13.46 MB / 371.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1932/0.326, allocations: 4.871 MB / 376.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.329, allocations: 86.53 kB / 376.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008449/0.3375, allocations: 4.174 MB / 380.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.3445, allocations: 2.107 MB / 382.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.3478, allocations: 1.108 MB / 384 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.3583, allocations: 6.048 MB / 390 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007744/0.3661, allocations: 5.322 MB / 395.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.3708, allocations: 2.143 MB / 397.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/0.3757, allocations: 2.859 MB / 400.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.3776, allocations: 0.4928 MB / 400.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.3824, allocations: 1.614 MB / 402.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004484/0.3869, allocations: 2.558 MB / 405 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006652/0.3936, allocations: 2.885 MB / 407.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4068, allocations: 9.244 MB / 417.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.4069, allocations: 0 / 417.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4069, allocations: 0 / 417.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003336/0.4072, allocations: 0 / 417.2 MB, free: 15.29 MB / 334.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.01943/0.4267, allocations: 6.012 MB / 423.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.4267, allocations: 8.031 kB / 423.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.4392, allocations: 2.539 MB / 425.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009887/0.4491, allocations: 3.68 MB / 429.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.4495, allocations: 310.7 kB / 429.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.4515, allocations: 442.1 kB / 430.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.4814, allocations: 12.41 MB / 442.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.4817, allocations: 59.48 kB / 442.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007825/0.4825, allocations: 191.3 kB / 442.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/0.4861, allocations: 2.032 MB / 444.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/0.5112, allocations: 10.57 MB / 455.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06714/0.5784, allocations: 44.36 MB / 499.7 MB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/0.5927, allocations: 4.859 MB / 0.4928 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.596, allocations: 2.007 MB / 0.4947 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/0.6092, allocations: 7.189 MB / 0.5018 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.6094, allocations: 63.42 kB / 0.5018 GB, free: 12.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 5.56e-06/0.6094, allocations: 0 / 0.5018 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.07177/0.6812, allocations: 19.49 MB / 0.5208 GB, free: 9.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.6814, allocations: 209.9 kB / 0.521 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/0.6886, allocations: 4.46 MB / 0.5254 GB, free: 4.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000493/0.6892, allocations: 57.7 kB / 0.5255 GB, free: 4.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/0.6922, allocations: 3.507 MB / 0.5289 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2069/0.8992, allocations: 0.8372 MB / 0.5297 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002949/0.9021, allocations: 1.34 MB / 0.531 GB, free: 141.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.9022, allocations: 302.5 kB / 0.5313 GB, free: 141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/0.9066, allocations: 2.367 MB / 0.5336 GB, free: 140.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/0.9127, allocations: 6.172 MB / 0.5396 GB, free: 134.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.923, allocations: 9.171 MB / 0.5486 GB, free: 126.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/0.9233, allocations: 38.28 kB / 0.5486 GB, free: 126.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02065/0.944, allocations: 9.562 MB / 0.558 GB, free: 123.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.9441, allocations: 60.92 kB / 0.558 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/0.9443, allocations: 136.6 kB / 0.5582 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.9483, allocations: 1.37 MB / 0.5595 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/0.9528, allocations: 1.479 MB / 0.5609 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.963, allocations: 8.497 MB / 0.5692 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/0.9685, allocations: 363 kB / 0.5696 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009136/0.9695, allocations: 385.4 kB / 0.5699 GB, free: 118.7 MB / 446.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.003679/0.9731, allocations: 2.488 MB / 0.5724 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/0.9739, allocations: 403.4 kB / 0.5728 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007207/0.9811, allocations: 4.126 MB / 0.5768 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.9811, allocations: 24 kB / 0.5768 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.9812, allocations: 8 kB / 0.5768 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.9812, allocations: 14.73 kB / 0.5768 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.9981, allocations: 10.35 MB / 0.5869 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.9982, allocations: 8 kB / 0.587 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.9998, allocations: 351.4 kB / 0.5873 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/1.003, allocations: 1.149 MB / 0.5884 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/1.004, allocations: 43.98 kB / 0.5885 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008421/1.012, allocations: 7.123 MB / 0.5954 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.012, allocations: 15.88 kB / 0.5954 GB, free: 94.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.022, allocations: 6.911 MB / 0.6022 GB, free: 87.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.023, allocations: 451.8 kB / 0.6026 GB, free: 86.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/1.024, allocations: 46.75 kB / 0.6027 GB, free: 86.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.026, allocations: 115.8 kB / 0.6028 GB, free: 86.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.026, allocations: 137.1 kB / 0.6029 GB, free: 86.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.026, allocations: 67.98 kB / 0.603 GB, free: 86.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003613/1.03, allocations: 2.795 MB / 0.6057 GB, free: 83.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.03, allocations: 0 / 0.6057 GB, free: 83.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006257/1.036, allocations: 1.203 MB / 0.6069 GB, free: 82.32 MB / 446.1 MB 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.0006072/1.037, allocations: 229 kB / 0.6071 GB, free: 82.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.047, allocations: 6.872 MB / 0.6138 GB, free: 75.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.047, allocations: 0 / 0.6138 GB, free: 75.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002466/1.05, allocations: 1.88 MB / 0.6156 GB, free: 73.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.054, allocations: 0.5392 MB / 0.6162 GB, free: 72.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.074, allocations: 11.67 MB / 0.6275 GB, free: 61.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.077, allocations: 3.847 MB / 0.6313 GB, free: 57.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.078, allocations: 315.4 kB / 0.6316 GB, free: 56.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.078, allocations: 0 / 0.6316 GB, free: 56.89 MB / 446.1 MB Notification: Performance of Templates: time 0.3201/1.399, allocations: 89.99 MB / 0.7195 GB, free: 135.5 MB / 462.1 MB 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.1.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