Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009383/0.0009388, allocations: 98.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.623e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5919, allocations: 105.6 MB / 0.6076 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5922, allocations: 78.09 kB / 0.6076 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2244/0.8167, allocations: 89.7 MB / 0.6952 GB, free: 11.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8167, allocations: 0 / 0.6952 GB, free: 11.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000232/0.8169, allocations: 80 kB / 0.6953 GB, free: 11.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01886/0.8358, allocations: 4.273 MB / 0.6995 GB, free: 6.914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.8359, allocations: 12.03 kB / 0.6995 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.8521, allocations: 3.547 MB / 0.703 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.8635, allocations: 3.96 MB / 0.7068 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.8638, allocations: 140 kB / 0.707 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/0.8667, allocations: 251.9 kB / 0.7072 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01617/0.8829, allocations: 7.557 MB / 0.7146 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.9051, allocations: 9.928 MB / 0.7243 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/0.9053, allocations: 27.72 kB / 0.7243 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.9072, allocations: 15.98 kB / 0.7243 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.9091, allocations: 1.188 MB / 0.7255 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3694/1.278, allocations: 33.98 MB / 0.7587 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/1.284, allocations: 3.906 MB / 0.7625 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/1.287, allocations: 2.039 MB / 0.7645 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.288, allocations: 1.318 MB / 0.7658 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.288, allocations: 55.09 kB / 0.7658 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 7.023e-06/1.288, allocations: 5.5 kB / 0.7658 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.02385/1.312, allocations: 9.513 MB / 0.7751 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.312, allocations: 77.27 kB / 0.7752 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/1.316, allocations: 2.364 MB / 0.7775 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004593/1.317, allocations: 28.95 kB / 0.7775 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.318, allocations: 2.945 MB / 0.7804 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.319, allocations: 0.9153 MB / 0.7813 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.32, allocations: 0 / 0.7813 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002632/1.32, allocations: 0.5626 MB / 0.7818 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/1.322, allocations: 2.18 MB / 0.784 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.326, allocations: 5.477 MB / 0.7893 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.33, allocations: 3.496 MB / 0.7927 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-05/1.33, allocations: 33.81 kB / 0.7928 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01606/1.346, allocations: 7.824 MB / 0.8004 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/1.346, allocations: 56.34 kB / 0.8005 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.347, allocations: 124 kB / 0.8006 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/1.35, allocations: 1.055 MB / 0.8016 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.355, allocations: 1.371 MB / 0.8029 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/1.357, allocations: 2.404 MB / 0.8053 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.362, allocations: 201.8 kB / 0.8055 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.363, allocations: 358.8 kB / 0.8058 GB, free: 113.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 532 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 732 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.364, allocations: 409.1 kB / 0.8062 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007591/1.372, allocations: 4.212 MB / 0.8103 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/1.373, allocations: 275.9 kB / 0.8106 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00846/1.381, allocations: 4.759 MB / 0.8152 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.515e-05/1.381, allocations: 50.72 kB / 0.8153 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.381, allocations: 3.938 kB / 0.8153 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.381, allocations: 16.36 kB / 0.8153 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.4, allocations: 10.14 MB / 0.8252 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.4, allocations: 7.375 kB / 0.8252 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.402, allocations: 407.8 kB / 0.8256 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/1.405, allocations: 0.9039 MB / 0.8265 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.406, allocations: 25.11 kB / 0.8265 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.408, allocations: 2.197 MB / 0.8287 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.408, allocations: 12.66 kB / 0.8287 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.42, allocations: 7.822 MB / 0.8363 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.422, allocations: 323.5 kB / 0.8366 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009339/1.423, allocations: 15.42 kB / 0.8366 GB, free: 99.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.424, allocations: 103.3 kB / 0.8367 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/1.425, allocations: 156.9 kB / 0.8369 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.425, allocations: 79.19 kB / 0.837 GB, free: 99.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003428/1.429, allocations: 1.538 MB / 0.8385 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/1.429, allocations: 2.156 kB / 0.8385 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007232/1.436, allocations: 0.8585 MB / 0.8393 GB, free: 97.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/1.447, allocations: 10.51 MB / 0.8496 GB, free: 87.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009341/1.457, allocations: 5.767 MB / 0.8552 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.457, allocations: 4 kB / 0.8552 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/1.461, allocations: 2.478 MB / 0.8576 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.464, allocations: 292.1 kB / 0.8579 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/1.492, allocations: 10.32 MB / 0.868 GB, free: 70.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006082/1.498, allocations: 3.511 MB / 0.8714 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005464/1.504, allocations: 2.15 MB / 0.8735 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003274/1.507, allocations: 1.895 MB / 0.8754 GB, free: 65 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/1.507, allocations: 0 / 0.8754 GB, free: 65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.607, allocations: 66.85 MB / 0.9406 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/1.607, allocations: 142.3 kB / 0.9408 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/5.141, allocations: 0 / 0.9408 GB, free: 2.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat