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.001546/0.001546, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 62.56 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09386, allocations: 50.52 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.2523/0.3461, allocations: 76.96 MB / 434 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03956/0.3857, allocations: 15.61 MB / 449.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.014/0.3998, allocations: 363 kB / 450 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.41, allocations: 6.035 MB / 456 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.4172, allocations: 2.624 MB / 458.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.4215, allocations: 2.178 MB / 460.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.4335, allocations: 10.43 MB / 471.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.4436, allocations: 8.841 MB / 480.1 MB, free: 176 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.4482, allocations: 3.264 MB / 483.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/0.4542, allocations: 4.616 MB / 488 MB, free: 8.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.4562, allocations: 0.7148 MB / 488.7 MB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.4603, allocations: 1.916 MB / 490.6 MB, free: 5.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.4643, allocations: 3.815 MB / 494.4 MB, free: 1.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00659/0.4709, allocations: 4.43 MB / 498.9 MB, free: 13.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4842, allocations: 13.59 MB / 0.5005 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4842, allocations: 0 / 0.5005 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4842, allocations: 0 / 0.5005 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003683/0.4846, allocations: 4 kB / 0.5005 GB, free: 15.72 MB / 430.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.02754/0.5121, allocations: 9.43 MB / 0.5097 GB, free: 6.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5122, allocations: 12.03 kB / 0.5097 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002621/0.5148, allocations: 1.139 MB / 0.5108 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6376/1.152, allocations: 23.23 MB / 0.5335 GB, free: 143.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/1.17, allocations: 7.4 MB / 0.5407 GB, free: 141.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/1.17, allocations: 440 kB / 0.5411 GB, free: 141.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/1.172, allocations: 0.5891 MB / 0.5417 GB, free: 141.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/1.204, allocations: 16.85 MB / 0.5581 GB, free: 133.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004382/1.204, allocations: 81.83 kB / 0.5582 GB, free: 133.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002216/1.206, allocations: 271.4 kB / 0.5585 GB, free: 133.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004213/1.211, allocations: 2.658 MB / 0.5611 GB, free: 132.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02752/1.238, allocations: 14.4 MB / 0.5751 GB, free: 117.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07093/1.309, allocations: 63.97 MB / 0.6376 GB, free: 52.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/1.328, allocations: 8.635 MB / 0.646 GB, free: 43.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005058/1.333, allocations: 4.921 MB / 0.6508 GB, free: 38.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02557/1.359, allocations: 18.11 MB / 0.6685 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.359, allocations: 68.44 kB / 0.6686 GB, free: 20.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 5.591e-06/1.359, allocations: 0 / 0.6686 GB, free: 20.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.4425/1.802, allocations: 72.75 MB / 0.7396 GB, free: 139.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.802, allocations: 374.3 kB / 0.74 GB, free: 139.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009894/1.812, allocations: 6.418 MB / 0.7463 GB, free: 134.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008155/1.813, allocations: 85.7 kB / 0.7463 GB, free: 134.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002461/1.815, allocations: 4.835 MB / 0.7511 GB, free: 129.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.817, allocations: 1.369 MB / 0.7524 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/1.819, allocations: 1.84 MB / 0.7542 GB, free: 126.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/1.819, allocations: 301.1 kB / 0.7545 GB, free: 126.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005412/1.825, allocations: 5.663 MB / 0.76 GB, free: 120.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007661/1.833, allocations: 10.61 MB / 0.7704 GB, free: 107.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.846, allocations: 17.36 MB / 0.7873 GB, free: 87.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-05/1.846, allocations: 59.94 kB / 0.7874 GB, free: 87.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0355/1.882, allocations: 21.96 MB / 0.8088 GB, free: 65.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/1.882, allocations: 80 kB / 0.8089 GB, free: 65.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/1.882, allocations: 172 kB / 0.8091 GB, free: 65.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01827/1.901, allocations: 6.874 MB / 0.8158 GB, free: 58.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006611/1.907, allocations: 2.07 MB / 0.8178 GB, free: 56.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04267/1.95, allocations: 36.41 MB / 0.8534 GB, free: 19.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009322/1.959, allocations: 0.7175 MB / 0.8541 GB, free: 18.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/1.961, allocations: 0.5115 MB / 0.8546 GB, free: 18.31 MB / 462.1 MB 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.007072/1.968, allocations: 3.431 MB / 0.8579 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00206/1.971, allocations: 0.5824 MB / 0.8585 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2223/2.193, allocations: 16.09 MB / 0.8742 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/2.193, allocations: 49.34 kB / 0.8742 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.116e-05/2.193, allocations: 22.02 kB / 0.8743 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.857e-05/2.193, allocations: 17.69 kB / 0.8743 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05573/2.249, allocations: 31.4 MB / 0.9049 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/2.249, allocations: 7.406 kB / 0.905 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/2.252, allocations: 0.6083 MB / 0.9055 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/2.27, allocations: 6.449 MB / 0.9118 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/2.271, allocations: 75.58 kB / 0.9119 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/2.308, allocations: 34.63 MB / 0.9457 GB, free: 88.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/2.308, allocations: 3.938 kB / 0.9457 GB, free: 88.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03476/2.343, allocations: 23.55 MB / 0.9687 GB, free: 65.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/2.345, allocations: 0.6233 MB / 0.9693 GB, free: 65.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/2.347, allocations: 63.98 kB / 0.9694 GB, free: 65.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/2.352, allocations: 432 kB / 0.9698 GB, free: 64.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/2.353, allocations: 246.6 kB / 0.9701 GB, free: 64.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/2.354, allocations: 91.98 kB / 0.9701 GB, free: 64.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004731/2.358, allocations: 4.109 MB / 0.9742 GB, free: 60.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.358, allocations: 0.75 kB / 0.9742 GB, free: 60.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007837/2.366, allocations: 2.186 MB / 0.9763 GB, free: 58.12 MB / 462.1 MB 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.03399/2.4, allocations: 24.32 MB / 1 GB, free: 33.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02482/2.425, allocations: 19.46 MB / 1.019 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/2.425, allocations: 3.938 kB / 1.019 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007814/2.433, allocations: 6.57 MB / 1.025 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/2.438, allocations: 0.9449 MB / 1.026 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3441/2.782, allocations: 124 MB / 1.147 GB, free: 60.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/2.787, allocations: 5.267 MB / 1.153 GB, free: 55.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006194/2.793, allocations: 3.032 MB / 1.156 GB, free: 52.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003772/2.797, allocations: 3.385 MB / 1.159 GB, free: 49.17 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/2.797, allocations: 4 kB / 1.159 GB, free: 49.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3736/3.17, allocations: 171.6 MB / 1.326 GB, free: 82.95 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/3.171, allocations: 248.2 kB / 1.327 GB, free: 82.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.746/8.917, allocations: 0 / 1.327 GB, free: 82.7 MB / 494.1 MB (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