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.0008809/0.0008811, allocations: 97.33 kB / 17 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009079/0.0009081, allocations: 198.2 kB / 17.91 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002905, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 63.46 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3583/0.4976, allocations: 42.54 MB / 0.5119 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03182/0.5295, allocations: 9.963 MB / 0.5216 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01271/0.5422, allocations: 209.6 kB / 0.5218 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.5537, allocations: 2.313 MB / 0.5241 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02964/0.5834, allocations: 6.609 MB / 0.5305 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.5886, allocations: 0.7474 MB / 0.5313 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009245/0.5979, allocations: 4.741 MB / 0.5359 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006899/0.6048, allocations: 3.924 MB / 0.5397 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.6083, allocations: 1.516 MB / 0.5412 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.6117, allocations: 2.05 MB / 0.5432 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.6124, allocations: 146.9 kB / 0.5433 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.6149, allocations: 0.9142 MB / 0.5442 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.6167, allocations: 1.746 MB / 0.5459 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.6178, allocations: 0.8718 MB / 0.5468 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.6239, allocations: 5.438 MB / 0.5521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.6239, allocations: 0 / 0.5521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.624, allocations: 0 / 0.5521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.6242, allocations: 0 / 0.5521 GB, free: 13.32 MB / 398.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.01086/0.6351, allocations: 4.519 MB / 0.5565 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6351, allocations: 12.03 kB / 0.5565 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002096/0.6372, allocations: 0.7556 MB / 0.5573 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/0.644, allocations: 1.93 MB / 0.5591 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006952/0.651, allocations: 2.649 MB / 0.5617 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6513, allocations: 238.4 kB / 0.562 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/0.653, allocations: 316.2 kB / 0.5623 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/0.68, allocations: 11.19 MB / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002766/0.6804, allocations: 47.62 kB / 0.5732 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/0.6821, allocations: 156.4 kB / 0.5734 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00452/0.6866, allocations: 2.292 MB / 0.5756 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.7116, allocations: 9.841 MB / 0.5852 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0835/0.7952, allocations: 44.3 MB / 0.6285 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/0.8163, allocations: 5.848 MB / 0.6342 GB, free: 7.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/0.8209, allocations: 3.232 MB / 0.6374 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/0.8361, allocations: 9.352 MB / 0.6465 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01014/0.8463, allocations: 3.38 MB / 0.6498 GB, free: 7.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 4.94e-06/0.8463, allocations: 0 / 0.6498 GB, free: 7.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1167/0.963, allocations: 33.56 MB / 0.6826 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.9632, allocations: 162.5 kB / 0.6827 GB, free: 5.902 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008188/0.9714, allocations: 4.175 MB / 0.6868 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000797/0.9722, allocations: 69.7 kB / 0.6869 GB, free: 1.621 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003264/0.9755, allocations: 3.257 MB / 0.6901 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.9773, allocations: 1.043 MB / 0.6911 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/0.9778, allocations: 135.9 kB / 0.6912 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000417/0.9782, allocations: 0.583 MB / 0.6918 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005244/0.9835, allocations: 3.351 MB / 0.695 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008325/0.9918, allocations: 6.939 MB / 0.7018 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008564/1, allocations: 4.724 MB / 0.7064 GB, free: 11.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/1.001, allocations: 36 kB / 0.7065 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.3679/1.369, allocations: 12.53 MB / 0.7187 GB, free: 187.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.369, allocations: 58.77 kB / 0.7188 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002598/1.369, allocations: 125.5 kB / 0.7189 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008602/1.378, allocations: 2.652 MB / 0.7215 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/1.384, allocations: 1.476 MB / 0.7229 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03194/1.416, allocations: 21.59 MB / 0.744 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/1.423, allocations: 431.8 kB / 0.7444 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.425, allocations: 392.8 kB / 0.7448 GB, free: 177.9 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.004988/1.43, allocations: 2.235 MB / 0.747 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008527/1.43, allocations: 401.2 kB / 0.7473 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.444, allocations: 7.994 MB / 0.7551 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.773e-05/1.444, allocations: 27.41 kB / 0.7552 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.543e-05/1.444, allocations: 11.84 kB / 0.7552 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-05/1.444, allocations: 18.48 kB / 0.7552 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02607/1.47, allocations: 14.78 MB / 0.7696 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.47, allocations: 4 kB / 0.7696 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/1.472, allocations: 397.4 kB / 0.77 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005035/1.477, allocations: 2.424 MB / 0.7724 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/1.478, allocations: 55.98 kB / 0.7724 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/1.5, allocations: 21.33 MB / 0.7933 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.5, allocations: 9.688 kB / 0.7933 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.514, allocations: 8.096 MB / 0.8012 GB, free: 132.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.515, allocations: 463.5 kB / 0.8016 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.517, allocations: 47.98 kB / 0.8017 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.52, allocations: 211.7 kB / 0.8019 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008594/1.521, allocations: 185.7 kB / 0.802 GB, free: 131.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/1.521, allocations: 77 kB / 0.8021 GB, free: 131.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003682/1.524, allocations: 2.607 MB / 0.8047 GB, free: 128.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.524, allocations: 10.81 kB / 0.8047 GB, free: 128.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006969/1.531, allocations: 1.357 MB / 0.806 GB, free: 127.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0138/1.545, allocations: 9.079 MB / 0.8149 GB, free: 118.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.56, allocations: 8.824 MB / 0.8235 GB, free: 109.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.56, allocations: 0 / 0.8235 GB, free: 109.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006371/1.566, allocations: 4.077 MB / 0.8275 GB, free: 105.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.571, allocations: 484.2 kB / 0.8279 GB, free: 104.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07358/1.645, allocations: 46.02 MB / 0.8729 GB, free: 54.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/1.648, allocations: 3.57 MB / 0.8764 GB, free: 51.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005077/1.653, allocations: 2.144 MB / 0.8785 GB, free: 49.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/1.656, allocations: 2.085 MB / 0.8805 GB, free: 47.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/1.656, allocations: 0 / 0.8805 GB, free: 47.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4208/2.077, allocations: 106.3 MB / 0.9843 GB, free: 147.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/2.077, allocations: 257.8 kB / 0.9846 GB, free: 147.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.525/6.602, allocations: 0 / 0.9846 GB, free: 147.1 MB / 0.545 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat