Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",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.001133/0.001133, allocations: 177.6 kB / 8.003 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000781/0.000781, allocations: 94.36 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 58.86 MB / 477.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.5737, allocations: 106.7 MB / 0.5703 GB, free: 4.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.574, allocations: 83.08 kB / 0.5703 GB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2055/0.7796, allocations: 82.5 MB / 0.6509 GB, free: 10.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7796, allocations: 0 / 0.6509 GB, free: 10.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.7798, allocations: 87.98 kB / 0.651 GB, free: 10.26 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01477/0.7946, allocations: 4.363 MB / 0.6553 GB, free: 5.832 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.7947, allocations: 8.031 kB / 0.6553 GB, free: 5.824 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.8059, allocations: 2.279 MB / 0.6575 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.819, allocations: 4.8 MB / 0.6622 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.8193, allocations: 148 kB / 0.6623 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.8213, allocations: 267.9 kB / 0.6626 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01235/0.8336, allocations: 6.273 MB / 0.6687 GB, free: 7.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.8539, allocations: 9.669 MB / 0.6781 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.8541, allocations: 63.48 kB / 0.6782 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/0.8546, allocations: 32 kB / 0.6782 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/0.856, allocations: 1.038 MB / 0.6793 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3617/1.218, allocations: 48.63 MB / 0.7267 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/1.222, allocations: 2.703 MB / 0.7294 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.224, allocations: 1.649 MB / 0.731 GB, free: 95.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/1.225, allocations: 1.301 MB / 0.7323 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.225, allocations: 49.62 kB / 0.7323 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=164): time 3.807e-06/1.226, allocations: 0 / 0.7323 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171): time 0.02204/1.248, allocations: 10.62 MB / 0.7427 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/1.248, allocations: 141.7 kB / 0.7428 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/1.253, allocations: 3.029 MB / 0.7458 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/1.253, allocations: 29.45 kB / 0.7458 GB, free: 90.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.255, allocations: 3.245 MB / 0.749 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000794/1.256, allocations: 0.6726 MB / 0.7496 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.256, allocations: 0 / 0.7496 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002703/1.256, allocations: 0.5737 MB / 0.7502 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.259, allocations: 2.071 MB / 0.7522 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00419/1.263, allocations: 5.945 MB / 0.758 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/1.267, allocations: 3.466 MB / 0.7614 GB, free: 83.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.95e-05/1.267, allocations: 45.3 kB / 0.7614 GB, free: 83.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01919/1.287, allocations: 8.594 MB / 0.7698 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.287, allocations: 66.84 kB / 0.7699 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009301/1.296, allocations: 3.497 MB / 0.7733 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008821/1.305, allocations: 1.94 MB / 0.7752 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/1.31, allocations: 1.462 MB / 0.7766 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/1.316, allocations: 5.594 MB / 0.7821 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00683/1.323, allocations: 310.4 kB / 0.7824 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.325, allocations: 387.1 kB / 0.7828 GB, free: 77.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (788): * Single equations (assignments): 779 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.001025/1.326, allocations: 461.1 kB / 0.7832 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00573/1.331, allocations: 3.423 MB / 0.7865 GB, free: 76.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/1.332, allocations: 315.5 kB / 0.7868 GB, free: 76.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/1.338, allocations: 3.169 MB / 0.7899 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004091/1.342, allocations: 2.624 MB / 0.7925 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.342, allocations: 2.312 kB / 0.7925 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/1.342, allocations: 9.141 kB / 0.7925 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.357, allocations: 8.85 MB / 0.8012 GB, free: 70.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.357, allocations: 4 kB / 0.8012 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.359, allocations: 296.7 kB / 0.8014 GB, free: 70.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/1.361, allocations: 1.008 MB / 0.8024 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/1.362, allocations: 19.55 kB / 0.8024 GB, free: 69.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/1.366, allocations: 4.908 MB / 0.8072 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007402/1.367, allocations: 1.419 MB / 0.8086 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/1.374, allocations: 5.786 MB / 0.8143 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.375, allocations: 370.5 kB / 0.8146 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/1.376, allocations: 18.02 kB / 0.8146 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.377, allocations: 122.4 kB / 0.8148 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.378, allocations: 107.4 kB / 0.8149 GB, free: 57.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.378, allocations: 51.27 kB / 0.8149 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00319/1.381, allocations: 1.998 MB / 0.8169 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/1.381, allocations: 0 / 0.8169 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007162/1.388, allocations: 0.991 MB / 0.8178 GB, free: 55.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * 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.00896/1.397, allocations: 6.935 MB / 0.8246 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009138/1.406, allocations: 5.567 MB / 0.83 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.406, allocations: 0 / 0.83 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003611/1.41, allocations: 2.243 MB / 0.8322 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.412, allocations: 328.6 kB / 0.8325 GB, free: 41.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.436, allocations: 9.437 MB / 0.8418 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/1.439, allocations: 3.395 MB / 0.8451 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004685/1.444, allocations: 1.98 MB / 0.847 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/1.446, allocations: 1.891 MB / 0.8489 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.382e-06/1.446, allocations: 0 / 0.8489 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/1.852, allocations: 73.5 MB / 0.9206 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.852, allocations: 133.5 kB / 0.9208 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/5.701, allocations: 0 / 0.9208 GB, free: 134.1 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat