Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000812/0.0008121, allocations: 98.64 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009222/0.0009223, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 63.46 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.323/0.46, allocations: 41.98 MB / 0.5114 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.4821, allocations: 9.16 MB / 0.5203 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/0.4925, allocations: 194.8 kB / 0.5205 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008427/0.501, allocations: 2.061 MB / 0.5225 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02098/0.522, allocations: 6.14 MB / 0.5285 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.525, allocations: 0.5148 MB / 0.529 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008553/0.5336, allocations: 4.727 MB / 0.5336 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006721/0.5404, allocations: 3.528 MB / 0.5371 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.5433, allocations: 1.299 MB / 0.5383 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.5469, allocations: 2.079 MB / 0.5404 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.5483, allocations: 169 kB / 0.5405 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.5511, allocations: 0.7741 MB / 0.5413 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002755/0.5539, allocations: 1.776 MB / 0.543 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.5561, allocations: 0.9134 MB / 0.5439 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.5635, allocations: 5.969 MB / 0.5497 GB, free: 14.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5636, allocations: 0 / 0.5497 GB, free: 14.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5636, allocations: 4 kB / 0.5497 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003413/0.5639, allocations: 0 / 0.5497 GB, free: 14.73 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01178/0.5757, allocations: 4.229 MB / 0.5539 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5758, allocations: 12.03 kB / 0.5539 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002478/0.5783, allocations: 0.8519 MB / 0.5547 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.5891, allocations: 3.292 MB / 0.5579 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.5947, allocations: 2.534 MB / 0.5604 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.595, allocations: 253.9 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.5964, allocations: 330.5 kB / 0.561 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.6194, allocations: 12.21 MB / 0.5729 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.6197, allocations: 39.64 kB / 0.5729 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/0.6211, allocations: 155 kB / 0.5731 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004921/0.6261, allocations: 2.849 MB / 0.5759 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/0.6502, allocations: 11.09 MB / 0.5867 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0918/0.742, allocations: 40.71 MB / 0.6264 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.7559, allocations: 4.678 MB / 0.631 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005354/0.7613, allocations: 2.428 MB / 0.6334 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.7632, allocations: 1.32 MB / 0.6347 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.123e-05/0.7633, allocations: 56.56 kB / 0.6347 GB, free: 7.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=249): time 7.274e-06/0.7633, allocations: 0 / 0.6347 GB, free: 7.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.05587/0.8192, allocations: 18.63 MB / 0.6529 GB, free: 4.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.8193, allocations: 77.41 kB / 0.653 GB, free: 4.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.8236, allocations: 3.164 MB / 0.6561 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.8239, allocations: 61.7 kB / 0.6561 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.8259, allocations: 3.11 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008957/0.8268, allocations: 0.9743 MB / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.8271, allocations: 116 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003444/0.8274, allocations: 0.5621 MB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.8309, allocations: 2.436 MB / 0.6632 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005633/0.8365, allocations: 5.699 MB / 0.6687 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/0.8417, allocations: 3.712 MB / 0.6723 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.578e-05/0.8418, allocations: 32 kB / 0.6724 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01585/0.8577, allocations: 8.937 MB / 0.6811 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.8578, allocations: 56 kB / 0.6812 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.8579, allocations: 112 kB / 0.6813 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.8607, allocations: 1.07 MB / 0.6823 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004516/0.8653, allocations: 1.345 MB / 0.6836 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.8724, allocations: 5.131 MB / 0.6886 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/0.8766, allocations: 327.7 kB / 0.6889 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.8777, allocations: 342.2 kB / 0.6893 GB, free: 13.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007044/0.8847, allocations: 2.413 MB / 0.6916 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.8858, allocations: 308 kB / 0.6919 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/0.9007, allocations: 5.352 MB / 0.6972 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/0.9009, allocations: 43.98 kB / 0.6972 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.9009, allocations: 4 kB / 0.6972 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/0.901, allocations: 11.95 kB / 0.6972 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/0.9328, allocations: 13.04 MB / 0.7099 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.9329, allocations: 12 kB / 0.71 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.9348, allocations: 427.3 kB / 0.7104 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/0.9376, allocations: 0.8941 MB / 0.7112 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003532/0.938, allocations: 58.45 kB / 0.7113 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006591/0.9446, allocations: 4.5 MB / 0.7157 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.9446, allocations: 19.88 kB / 0.7157 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2974/1.242, allocations: 7.972 MB / 0.7235 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.243, allocations: 366.3 kB / 0.7238 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005897/1.244, allocations: 52 kB / 0.7239 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.245, allocations: 150.3 kB / 0.724 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.245, allocations: 170.2 kB / 0.7242 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.246, allocations: 78.02 kB / 0.7243 GB, free: 188.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003485/1.249, allocations: 1.931 MB / 0.7262 GB, free: 188 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/1.249, allocations: 0 / 0.7262 GB, free: 188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005689/1.255, allocations: 1.086 MB / 0.7272 GB, free: 187.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/1.268, allocations: 8.657 MB / 0.7357 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008627/1.277, allocations: 5.956 MB / 0.7415 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/1.277, allocations: 2.719 kB / 0.7415 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003199/1.28, allocations: 2.241 MB / 0.7437 GB, free: 181.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/1.284, allocations: 433.6 kB / 0.7441 GB, free: 181.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05759/1.341, allocations: 35.31 MB / 0.7786 GB, free: 152.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004734/1.346, allocations: 3.714 MB / 0.7822 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004545/1.351, allocations: 2.15 MB / 0.7843 GB, free: 146.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003323/1.354, allocations: 2.097 MB / 0.7864 GB, free: 144.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/1.354, allocations: 0 / 0.7864 GB, free: 144.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.484, allocations: 76.44 MB / 0.861 GB, free: 68.39 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/1.485, allocations: 206.1 kB / 0.8612 GB, free: 68.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/5.482, allocations: 0 / 0.8612 GB, free: 68.15 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat