Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 103.7 kB / 17.63 MB, free: 5.523 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: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.56 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01324/0.1289, allocations: 11.96 MB / 492.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009694/0.1387, allocations: 4.745 MB / 496.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1408, allocations: 79.75 kB / 496.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00559/0.1465, allocations: 2.986 MB / 499.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005368/0.1519, allocations: 1.972 MB / 0.4901 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.154, allocations: 0.8459 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006051/0.16, allocations: 4.093 MB / 0.4949 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005573/0.1656, allocations: 3.305 MB / 0.4982 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.1693, allocations: 1.744 MB / 0.4999 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004376/0.1737, allocations: 2.169 MB / 0.502 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.1754, allocations: 311.9 kB / 0.5023 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.1791, allocations: 1.194 MB / 0.5034 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2225/0.4016, allocations: 1.928 MB / 0.5053 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003271/0.4049, allocations: 2.281 MB / 0.5075 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.414, allocations: 6.878 MB / 0.5143 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4141, allocations: 7.719 kB / 0.5143 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4141, allocations: 0 / 0.5143 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003013/0.4144, allocations: 0 / 0.5143 GB, free: 15.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01682/0.4312, allocations: 5.336 MB / 0.5195 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4313, allocations: 9.812 kB / 0.5195 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002612/0.4339, allocations: 0.7474 MB / 0.5202 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/0.4412, allocations: 1.879 MB / 0.5221 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/0.4467, allocations: 2.72 MB / 0.5247 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.4469, allocations: 233.6 kB / 0.5249 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.448, allocations: 316.1 kB / 0.5252 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.4672, allocations: 11.2 MB / 0.5362 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.4673, allocations: 43.53 kB / 0.5362 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004974/0.4679, allocations: 150.7 kB / 0.5364 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003655/0.4715, allocations: 2.298 MB / 0.5386 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.491, allocations: 9.87 MB / 0.5482 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05699/0.548, allocations: 44.31 MB / 0.5915 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/0.5622, allocations: 5.839 MB / 0.5972 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.5665, allocations: 3.238 MB / 0.6004 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/0.5802, allocations: 9.348 MB / 0.6095 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01018/0.5904, allocations: 3.376 MB / 0.6128 GB, free: 11.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=211): time 8.626e-06/0.5904, allocations: 4 kB / 0.6128 GB, free: 11.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=285): time 0.1183/0.7087, allocations: 33.39 MB / 0.6454 GB, free: 10.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.7089, allocations: 158.5 kB / 0.6456 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007958/0.7168, allocations: 4.206 MB / 0.6497 GB, free: 6.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007218/0.7176, allocations: 69.55 kB / 0.6497 GB, free: 5.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003176/0.7208, allocations: 3.249 MB / 0.6529 GB, free: 2.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.7224, allocations: 1.039 MB / 0.6539 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003401/0.7258, allocations: 1.337 MB / 0.6552 GB, free: 364 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.7259, allocations: 305.1 kB / 0.6555 GB, free: 56 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005776/0.7317, allocations: 3.374 MB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008195/0.7399, allocations: 6.978 MB / 0.6656 GB, free: 4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.7541, allocations: 11.17 MB / 0.6765 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/0.7543, allocations: 36 kB / 0.6766 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02624/0.7805, allocations: 12.59 MB / 0.6889 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.7807, allocations: 61 kB / 0.6889 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/0.7809, allocations: 124 kB / 0.689 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00749/0.7884, allocations: 2.648 MB / 0.6916 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0059/0.7943, allocations: 1.474 MB / 0.6931 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3157/1.11, allocations: 23.38 MB / 0.7159 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007299/1.117, allocations: 436.8 kB / 0.7163 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/1.119, allocations: 387.7 kB / 0.7167 GB, free: 174.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 753 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00714/1.127, allocations: 2.233 MB / 0.7189 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.128, allocations: 406.1 kB / 0.7192 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/1.145, allocations: 8.024 MB / 0.7271 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.022e-05/1.145, allocations: 29.78 kB / 0.7271 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/1.146, allocations: 10.09 kB / 0.7271 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/1.146, allocations: 13.64 kB / 0.7271 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.171, allocations: 14.79 MB / 0.7416 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.171, allocations: 5.406 kB / 0.7416 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.174, allocations: 401.9 kB / 0.742 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/1.179, allocations: 2.32 MB / 0.7442 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006407/1.18, allocations: 52.8 kB / 0.7443 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/1.203, allocations: 23.13 MB / 0.7669 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.203, allocations: 9.406 kB / 0.7669 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.217, allocations: 8.118 MB / 0.7748 GB, free: 144.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.218, allocations: 442.6 kB / 0.7752 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/1.219, allocations: 47.12 kB / 0.7753 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.222, allocations: 222.2 kB / 0.7755 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008773/1.223, allocations: 189 kB / 0.7757 GB, free: 143.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/1.223, allocations: 71.98 kB / 0.7757 GB, free: 143.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003592/1.227, allocations: 2.635 MB / 0.7783 GB, free: 140.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 0 / 0.7783 GB, free: 140.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006324/1.233, allocations: 1.341 MB / 0.7796 GB, free: 139.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (3,13,88.9%), (3,13,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01369/1.247, allocations: 9.098 MB / 0.7885 GB, free: 130.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01826/1.265, allocations: 11.62 MB / 0.7999 GB, free: 119.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.265, allocations: 0 / 0.7999 GB, free: 119.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006334/1.272, allocations: 4.085 MB / 0.8038 GB, free: 115.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/1.276, allocations: 0.4979 MB / 0.8043 GB, free: 114.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08845/1.364, allocations: 67.69 MB / 0.8704 GB, free: 39.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/1.369, allocations: 3.578 MB / 0.8739 GB, free: 35.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005035/1.374, allocations: 2.14 MB / 0.876 GB, free: 33.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003716/1.378, allocations: 2.081 MB / 0.878 GB, free: 31.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.378, allocations: 0 / 0.878 GB, free: 31.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3696/1.748, allocations: 104.4 MB / 0.98 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.84, allocations: 7.859 kB / 0.9801 GB, free: 171.8 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches