Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 182.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4783/0.6152, allocations: 104.4 MB / 0.5808 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.6156, allocations: 81.55 kB / 0.5809 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2396/0.8552, allocations: 91.53 MB / 0.6703 GB, free: 7.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.8553, allocations: 0 / 0.6703 GB, free: 7.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002927/0.8556, allocations: 79.98 kB / 0.6703 GB, free: 7.691 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02129/0.8769, allocations: 4.429 MB / 0.6747 GB, free: 3.191 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.877, allocations: 8.031 kB / 0.6747 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005459/0.8824, allocations: 0.8648 MB / 0.6755 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.8998, allocations: 3.554 MB / 0.679 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.9166, allocations: 4.706 MB / 0.6836 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005077/0.9171, allocations: 336.6 kB / 0.6839 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/0.9214, allocations: 435.8 kB / 0.6843 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/0.9556, allocations: 11.06 MB / 0.6951 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.9559, allocations: 27.72 kB / 0.6952 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/0.9583, allocations: 195.9 kB / 0.6953 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/0.9605, allocations: 1.235 MB / 0.6965 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.9873, allocations: 10.68 MB / 0.707 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.396/1.383, allocations: 37.43 MB / 0.7435 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007299/1.391, allocations: 4.393 MB / 0.7478 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/1.392, allocations: 1.318 MB / 0.7491 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.392, allocations: 51.22 kB / 0.7492 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.452e-06/1.392, allocations: 0 / 0.7492 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.03424/1.426, allocations: 14.29 MB / 0.7631 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.426, allocations: 78.81 kB / 0.7632 GB, free: 99.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/1.43, allocations: 2.534 MB / 0.7657 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/1.43, allocations: 62.02 kB / 0.7657 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.432, allocations: 2.942 MB / 0.7686 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/1.433, allocations: 0.9719 MB / 0.7695 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.433, allocations: 118 kB / 0.7697 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002829/1.433, allocations: 0.5585 MB / 0.7702 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/1.436, allocations: 2.336 MB / 0.7725 GB, free: 94.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/1.44, allocations: 5.49 MB / 0.7778 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/1.444, allocations: 3.591 MB / 0.7813 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/1.444, allocations: 31 kB / 0.7814 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01329/1.458, allocations: 8.556 MB / 0.7897 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.458, allocations: 51.84 kB / 0.7898 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/1.458, allocations: 114.5 kB / 0.7899 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/1.461, allocations: 1.054 MB / 0.7909 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004158/1.465, allocations: 1.336 MB / 0.7922 GB, free: 85.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.468, allocations: 2.488 MB / 0.7947 GB, free: 84.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/1.472, allocations: 319.9 kB / 0.795 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/1.472, allocations: 338 kB / 0.7953 GB, free: 83.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 713 * 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.003751/1.476, allocations: 2.267 MB / 0.7975 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/1.476, allocations: 284.2 kB / 0.7978 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008547/1.485, allocations: 5.063 MB / 0.8027 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.812e-05/1.485, allocations: 48.5 kB / 0.8028 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.485, allocations: 7.062 kB / 0.8028 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.485, allocations: 14.91 kB / 0.8028 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.504, allocations: 11.62 MB / 0.8141 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.504, allocations: 8 kB / 0.8141 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.505, allocations: 426.4 kB / 0.8145 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/1.508, allocations: 0.9114 MB / 0.8154 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.509, allocations: 62.42 kB / 0.8155 GB, free: 71.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.511, allocations: 2.313 MB / 0.8178 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.511, allocations: 11.94 kB / 0.8178 GB, free: 68.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.522, allocations: 8.158 MB / 0.8257 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.524, allocations: 335.7 kB / 0.8261 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.524, allocations: 52.53 kB / 0.8261 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.525, allocations: 139.4 kB / 0.8262 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/1.526, allocations: 165.7 kB / 0.8264 GB, free: 60.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.526, allocations: 75.59 kB / 0.8265 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002437/1.528, allocations: 1.725 MB / 0.8282 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/1.528, allocations: 0 / 0.8282 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004127/1.532, allocations: 1.015 MB / 0.8291 GB, free: 58.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.01016/1.543, allocations: 10.75 MB / 0.8396 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008341/1.551, allocations: 6.144 MB / 0.8456 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.551, allocations: 0 / 0.8456 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003546/1.554, allocations: 2.602 MB / 0.8482 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.557, allocations: 396.6 kB / 0.8486 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3413/1.898, allocations: 108.5 MB / 0.9546 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006371/1.904, allocations: 3.597 MB / 0.9581 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005483/1.91, allocations: 2.094 MB / 0.9601 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003636/1.913, allocations: 1.985 MB / 0.962 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.145e-06/1.913, allocations: 0 / 0.962 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/2.038, allocations: 70.96 MB / 1.031 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/2.038, allocations: 218.4 kB / 1.032 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/5.8, allocations: 0 / 1.032 GB, free: 55.91 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat