Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.0009673, allocations: 99.03 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 44.15 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.593e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.6023, allocations: 107.4 MB / 0.6067 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.6026, allocations: 75.95 kB / 0.6068 GB, free: 13.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6435/1.246, allocations: 120.1 MB / 0.7241 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.227e-06/1.246, allocations: 0.875 kB / 0.7241 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004381/1.247, allocations: 115.8 kB / 0.7242 GB, free: 110.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02273/1.269, allocations: 5.882 MB / 0.7299 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.269, allocations: 9.312 kB / 0.7299 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/1.274, allocations: 1.047 MB / 0.7309 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/1.303, allocations: 6.982 MB / 0.7378 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0205/1.324, allocations: 6.657 MB / 0.7443 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/1.324, allocations: 453 kB / 0.7447 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/1.327, allocations: 0.592 MB / 0.7453 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/1.359, allocations: 14.92 MB / 0.7599 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/1.36, allocations: 72.5 kB / 0.7599 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/1.361, allocations: 288.2 kB / 0.7602 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/1.362, allocations: 1.371 MB / 0.7615 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02612/1.388, allocations: 12.51 MB / 0.7737 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06603/1.454, allocations: 60.82 MB / 0.8331 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/1.469, allocations: 6.112 MB / 0.8391 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/1.473, allocations: 3.568 MB / 0.8426 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/1.489, allocations: 12.86 MB / 0.8552 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/1.49, allocations: 56.5 kB / 0.8552 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 6.241e-06/1.49, allocations: 0 / 0.8552 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.05783/1.547, allocations: 23.1 MB / 0.8778 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/1.548, allocations: 217.8 kB / 0.878 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006412/1.554, allocations: 4.397 MB / 0.8823 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007778/1.555, allocations: 65.7 kB / 0.8823 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.557, allocations: 4.04 MB / 0.8863 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.558, allocations: 1.006 MB / 0.8873 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/1.559, allocations: 144 kB / 0.8874 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003368/1.559, allocations: 0.6039 MB / 0.888 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/1.563, allocations: 2.954 MB / 0.8909 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00676/1.57, allocations: 7.063 MB / 0.8978 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008241/1.578, allocations: 4.523 MB / 0.9022 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/1.578, allocations: 43.95 kB / 0.9022 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.4038/1.982, allocations: 11.32 MB / 0.9133 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.982, allocations: 68.39 kB / 0.9133 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002732/1.983, allocations: 147.9 kB / 0.9135 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004634/1.987, allocations: 1.645 MB / 0.9151 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/1.994, allocations: 1.658 MB / 0.9167 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/2.011, allocations: 11.32 MB / 0.9278 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008208/2.019, allocations: 437.3 kB / 0.9282 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.021, allocations: 434.2 kB / 0.9286 GB, free: 106 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 862 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001884/2.023, allocations: 0.6659 MB / 0.9293 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.025, allocations: 456.7 kB / 0.9297 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/2.036, allocations: 6.025 MB / 0.9356 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/2.036, allocations: 27.8 kB / 0.9356 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/2.036, allocations: 10.88 kB / 0.9356 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/2.036, allocations: 14.39 kB / 0.9356 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/2.057, allocations: 13.46 MB / 0.9488 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/2.057, allocations: 0 / 0.9488 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/2.059, allocations: 446.1 kB / 0.9492 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/2.062, allocations: 1.412 MB / 0.9506 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003533/2.063, allocations: 48.2 kB / 0.9506 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/2.075, allocations: 10.58 MB / 0.961 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.075, allocations: 3.875 kB / 0.961 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/2.088, allocations: 9.791 MB / 0.9705 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/2.09, allocations: 0.4933 MB / 0.971 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/2.091, allocations: 47.92 kB / 0.971 GB, free: 95.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/2.093, allocations: 204.9 kB / 0.9712 GB, free: 95.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/2.093, allocations: 162.2 kB / 0.9714 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/2.094, allocations: 70.06 kB / 0.9715 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005533/2.099, allocations: 3.077 MB / 0.9745 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.22e-07/2.099, allocations: 3.594 kB / 0.9745 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008866/2.108, allocations: 1.419 MB / 0.9759 GB, free: 94.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/2.122, allocations: 10.63 MB / 0.9862 GB, free: 90.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0123/2.134, allocations: 7.424 MB / 0.9935 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.134, allocations: 2.406 kB / 0.9935 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004741/2.139, allocations: 3.113 MB / 0.9965 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/2.143, allocations: 0.6129 MB / 0.9971 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/2.169, allocations: 13.29 MB / 1.01 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004108/2.173, allocations: 4.485 MB / 1.014 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006641/2.18, allocations: 2.335 MB / 1.017 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007594/2.188, allocations: 2.736 MB / 1.019 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/2.188, allocations: 4 kB / 1.019 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5215/2.709, allocations: 109.8 MB / 1.127 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/2.709, allocations: 188.3 kB / 1.127 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.701/8.411, allocations: 3.938 kB / 1.127 GB, free: 103.2 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat