Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2637, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01823/0.282, allocations: 18.03 MB / 426.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.2952, allocations: 6.038 MB / 432.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.2994, allocations: 143.6 kB / 433 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.3111, allocations: 6.242 MB / 439.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008377/0.3195, allocations: 2.813 MB / 442 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.3245, allocations: 2.273 MB / 444.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.3368, allocations: 9.693 MB / 454 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.3476, allocations: 8.411 MB / 462.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.3539, allocations: 3.202 MB / 465.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006355/0.3602, allocations: 4.164 MB / 469.8 MB, free: 4.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002182/0.3625, allocations: 0.7148 MB / 470.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.3666, allocations: 1.9 MB / 472.4 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004326/0.3709, allocations: 3.804 MB / 476.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006826/0.3778, allocations: 4.407 MB / 480.6 MB, free: 9.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.3936, allocations: 13.82 MB / 494.4 MB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3936, allocations: 3.938 kB / 494.4 MB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3936, allocations: 0 / 494.4 MB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005582/0.3942, allocations: 0 / 494.4 MB, free: 11.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02781/0.422, allocations: 9.426 MB / 0.492 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4221, allocations: 12.03 kB / 0.492 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00285/0.4249, allocations: 1.131 MB / 0.4931 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2865/0.7115, allocations: 23.23 MB / 0.5158 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/0.729, allocations: 7.54 MB / 0.5232 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/0.7294, allocations: 439.7 kB / 0.5236 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/0.7316, allocations: 0.5815 MB / 0.5242 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4094/1.141, allocations: 16.85 MB / 0.5406 GB, free: 115.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/1.141, allocations: 79.59 kB / 0.5407 GB, free: 115.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/1.143, allocations: 268.3 kB / 0.541 GB, free: 115.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004474/1.147, allocations: 2.66 MB / 0.5436 GB, free: 114.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02661/1.174, allocations: 14.4 MB / 0.5576 GB, free: 109.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06414/1.238, allocations: 63.69 MB / 0.6198 GB, free: 45.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/1.258, allocations: 8.639 MB / 0.6283 GB, free: 36.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/1.262, allocations: 4.917 MB / 0.6331 GB, free: 32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02123/1.284, allocations: 18.12 MB / 0.6508 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.284, allocations: 68.5 kB / 0.6508 GB, free: 13.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 7.014e-06/1.284, allocations: 0 / 0.6508 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2397/1.523, allocations: 72.74 MB / 0.7219 GB, free: 4.773 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/1.524, allocations: 380.6 kB / 0.7222 GB, free: 4.32 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.535, allocations: 6.414 MB / 0.7285 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.536, allocations: 81.7 kB / 0.7286 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003856/1.54, allocations: 4.84 MB / 0.7333 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/1.542, allocations: 1.372 MB / 0.7346 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005053/1.547, allocations: 1.828 MB / 0.7364 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.548, allocations: 301.1 kB / 0.7367 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2143/1.762, allocations: 5.657 MB / 0.7422 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.772, allocations: 10.62 MB / 0.7526 GB, free: 175 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/1.79, allocations: 17.37 MB / 0.7696 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.79, allocations: 53.28 kB / 0.7696 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03856/1.828, allocations: 21.96 MB / 0.7911 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.829, allocations: 86.91 kB / 0.7911 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.829, allocations: 168.9 kB / 0.7913 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01804/1.847, allocations: 6.861 MB / 0.798 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/1.853, allocations: 2.077 MB / 0.8 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/1.892, allocations: 36.38 MB / 0.8356 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007869/1.899, allocations: 0.715 MB / 0.8363 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.901, allocations: 0.519 MB / 0.8368 GB, free: 105.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.005247/1.906, allocations: 3.415 MB / 0.8401 GB, free: 102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.908, allocations: 0.585 MB / 0.8407 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02616/1.934, allocations: 16.11 MB / 0.8564 GB, free: 85.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/1.934, allocations: 51.98 kB / 0.8565 GB, free: 85.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.535e-05/1.934, allocations: 20 kB / 0.8565 GB, free: 85.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/1.934, allocations: 19.92 kB / 0.8565 GB, free: 85.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04576/1.98, allocations: 31.3 MB / 0.8871 GB, free: 53.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.428e-05/1.98, allocations: 7.938 kB / 0.8871 GB, free: 53.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/1.983, allocations: 0.6006 MB / 0.8876 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01706/2, allocations: 6.441 MB / 0.8939 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001132/2.001, allocations: 60 kB / 0.894 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03615/2.037, allocations: 34.62 MB / 0.9278 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.037, allocations: 0 / 0.9278 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.241/2.278, allocations: 23.54 MB / 0.9508 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/2.28, allocations: 0.6257 MB / 0.9514 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001935/2.282, allocations: 64.33 kB / 0.9515 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004952/2.287, allocations: 426.2 kB / 0.9519 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/2.288, allocations: 246.9 kB / 0.9521 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003869/2.289, allocations: 96.05 kB / 0.9522 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00616/2.295, allocations: 4.107 MB / 0.9562 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/2.295, allocations: 2.594 kB / 0.9562 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009255/2.304, allocations: 2.183 MB / 0.9583 GB, free: 163.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03605/2.34, allocations: 24.33 MB / 0.9821 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01958/2.36, allocations: 14.29 MB / 0.9961 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/2.36, allocations: 4 kB / 0.9961 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008857/2.369, allocations: 6.562 MB / 1.002 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/2.376, allocations: 0.946 MB / 1.003 GB, free: 131 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1425/2.518, allocations: 102.6 MB / 1.104 GB, free: 20.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006195/2.524, allocations: 5.263 MB / 1.109 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006544/2.531, allocations: 3.029 MB / 1.112 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004946/2.536, allocations: 3.389 MB / 1.115 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/2.536, allocations: 3.938 kB / 1.115 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4214/2.957, allocations: 169.6 MB / 1.281 GB, free: 61.95 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.66/28.62, allocations: 8 kB / 1.281 GB, free: 61.95 MB / 0.5451 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches