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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008652/0.0008652, allocations: 96.14 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009604/0.0009604, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001868/0.0001868, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07581/0.07601, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1769/0.2529, allocations: 53.64 MB / 413 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.274, allocations: 11.71 MB / 424.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007327/0.2814, allocations: 239.4 kB / 425 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.2827, allocations: 493.5 kB / 425.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.287, allocations: 2.006 MB / 427.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.2889, allocations: 1.014 MB / 428.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008082/0.297, allocations: 8.769 MB / 437.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007982/0.305, allocations: 7.363 MB / 444.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.3068, allocations: 1.517 MB / 446.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.3094, allocations: 2.562 MB / 448.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.3097, allocations: 188 kB / 448.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.3116, allocations: 1.396 MB / 450.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.3131, allocations: 2.209 MB / 452.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.3148, allocations: 2.517 MB / 455 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.3212, allocations: 8.97 MB / 463.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3212, allocations: 0 / 463.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3212, allocations: 0 / 463.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.728e-05/0.3213, allocations: 4 kB / 463.9 MB, free: 2.043 MB / 366.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.008209/0.3295, allocations: 5.062 MB / 469 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3295, allocations: 16.02 kB / 469 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/0.3306, allocations: 0.9247 MB / 469.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0364/0.367, allocations: 6.106 MB / 476.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006881/0.3739, allocations: 4.171 MB / 480.2 MB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.3741, allocations: 307.9 kB / 480.5 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007262/0.3749, allocations: 435.7 kB / 481 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.3921, allocations: 12.35 MB / 493.3 MB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.3923, allocations: 55.5 kB / 493.4 MB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004061/0.3927, allocations: 187.9 kB / 493.5 MB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/0.3954, allocations: 2.039 MB / 495.6 MB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.4121, allocations: 10.39 MB / 0.4941 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/0.6048, allocations: 44.13 MB / 0.5372 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.6163, allocations: 4.847 MB / 0.5419 GB, free: 116.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.6186, allocations: 1.963 MB / 0.5439 GB, free: 116.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008399/0.627, allocations: 7.089 MB / 0.5508 GB, free: 114 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.627, allocations: 47.88 kB / 0.5508 GB, free: 113.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.587e-06/0.627, allocations: 0 / 0.5508 GB, free: 113.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.0526/0.6796, allocations: 19.06 MB / 0.5694 GB, free: 107 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.6797, allocations: 213 kB / 0.5696 GB, free: 106.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.6839, allocations: 4.477 MB / 0.574 GB, free: 103.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.684, allocations: 61.95 kB / 0.5741 GB, free: 103.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.6853, allocations: 3.56 MB / 0.5775 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.6857, allocations: 0.8304 MB / 0.5784 GB, free: 99.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.6862, allocations: 0.5431 MB / 0.5789 GB, free: 98.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.6862, allocations: 301.1 kB / 0.5792 GB, free: 98.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.6885, allocations: 2.232 MB / 0.5814 GB, free: 96.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.6918, allocations: 5.984 MB / 0.5872 GB, free: 88.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.698, allocations: 8.921 MB / 0.5959 GB, free: 77.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/0.698, allocations: 40 kB / 0.5959 GB, free: 77.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01113/0.7091, allocations: 9.048 MB / 0.6048 GB, free: 68.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.7092, allocations: 60 kB / 0.6048 GB, free: 68.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-05/0.7093, allocations: 132 kB / 0.605 GB, free: 68.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.7123, allocations: 1.206 MB / 0.6061 GB, free: 67.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.7155, allocations: 1.415 MB / 0.6075 GB, free: 65.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.7236, allocations: 7.532 MB / 0.6149 GB, free: 58.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/0.7267, allocations: 347.4 kB / 0.6152 GB, free: 57.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.7271, allocations: 376.9 kB / 0.6156 GB, free: 57.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (766): * Single equations (assignments): 762 * 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.002524/0.7296, allocations: 2.499 MB / 0.618 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.73, allocations: 402.8 kB / 0.6184 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/0.7361, allocations: 3.892 MB / 0.6222 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.7361, allocations: 24.7 kB / 0.6222 GB, free: 50.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7361, allocations: 4 kB / 0.6222 GB, free: 50.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.7361, allocations: 11.97 kB / 0.6222 GB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.7493, allocations: 10.2 MB / 0.6322 GB, free: 40.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.7493, allocations: 4 kB / 0.6322 GB, free: 40.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.7506, allocations: 347 kB / 0.6325 GB, free: 40.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/0.7535, allocations: 0.9939 MB / 0.6335 GB, free: 39.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.7536, allocations: 47.94 kB / 0.6335 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007061/0.7607, allocations: 6.225 MB / 0.6396 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.7607, allocations: 11.5 kB / 0.6396 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009195/0.7699, allocations: 6.629 MB / 0.6461 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/0.7709, allocations: 455.7 kB / 0.6465 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/0.7713, allocations: 36 kB / 0.6466 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.7727, allocations: 115.9 kB / 0.6467 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.773, allocations: 141 kB / 0.6468 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.7732, allocations: 61.25 kB / 0.6469 GB, free: 25.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002989/0.7762, allocations: 2.824 MB / 0.6496 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7762, allocations: 7.938 kB / 0.6496 GB, free: 22.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004184/0.7804, allocations: 1.16 MB / 0.6508 GB, free: 21.19 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.008665/0.789, allocations: 7.338 MB / 0.6579 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006467/0.7955, allocations: 5.511 MB / 0.6633 GB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7955, allocations: 3.938 kB / 0.6633 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.7975, allocations: 1.847 MB / 0.6651 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.8028, allocations: 0.5378 MB / 0.6657 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2263/1.029, allocations: 61.81 MB / 0.726 GB, free: 172.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003917/1.033, allocations: 3.87 MB / 0.7298 GB, free: 171.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004093/1.037, allocations: 1.93 MB / 0.7317 GB, free: 171.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.039, allocations: 2.282 MB / 0.7339 GB, free: 169.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/1.039, allocations: 2.375 kB / 0.7339 GB, free: 169.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/1.129, allocations: 84.93 MB / 0.8169 GB, free: 95.88 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/1.13, allocations: 240.7 kB / 0.8171 GB, free: 95.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.637, allocations: 4 kB / 0.8171 GB, free: 95.61 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > 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