Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002371/0.00237, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001854/0.001853, allocations: 92.36 kB / 270.9 MB, free: 8.387 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.525/0.525, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009661, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1395, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6448, allocations: 107.5 MB / 0.5838 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.6451, allocations: 75.97 kB / 0.5839 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3629/1.008, allocations: 84.42 MB / 0.6663 GB, free: 6.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.008, allocations: 0 / 0.6663 GB, free: 6.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002867/1.008, allocations: 80 kB / 0.6664 GB, free: 5.941 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02639/1.035, allocations: 4.575 MB / 0.6709 GB, free: 1.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.035, allocations: 11.97 kB / 0.6709 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003906/1.039, allocations: 0.8113 MB / 0.6717 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3677/1.407, allocations: 2.272 MB / 0.6739 GB, free: 89.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.429, allocations: 4.836 MB / 0.6786 GB, free: 89.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/1.429, allocations: 342.8 kB / 0.6789 GB, free: 89.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/1.432, allocations: 456.9 kB / 0.6794 GB, free: 89.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03305/1.465, allocations: 10.87 MB / 0.69 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003208/1.465, allocations: 60.72 kB / 0.69 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001896/1.467, allocations: 224.7 kB / 0.6903 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/1.47, allocations: 1.04 MB / 0.6913 GB, free: 86.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0269/1.497, allocations: 8.722 MB / 0.6998 GB, free: 86.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08014/1.577, allocations: 50.03 MB / 0.7486 GB, free: 51.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/1.594, allocations: 3.814 MB / 0.7524 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01921/1.613, allocations: 8.335 MB / 0.7605 GB, free: 45.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.613, allocations: 55.06 kB / 0.7606 GB, free: 45.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.421e-06/1.613, allocations: 0 / 0.7606 GB, free: 45.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.05284/1.666, allocations: 13.31 MB / 0.7736 GB, free: 40.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001401/1.667, allocations: 1.63 MB / 0.7752 GB, free: 38.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008476/1.676, allocations: 3.571 MB / 0.7786 GB, free: 37.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004808/1.676, allocations: 45.23 kB / 0.7787 GB, free: 37.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.679, allocations: 3.139 MB / 0.7818 GB, free: 34.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.68, allocations: 0.6478 MB / 0.7824 GB, free: 34.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000871/1.681, allocations: 120.3 kB / 0.7825 GB, free: 34.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005624/1.682, allocations: 0.5629 MB / 0.783 GB, free: 33.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005809/1.687, allocations: 2.163 MB / 0.7852 GB, free: 32.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007769/1.695, allocations: 5.91 MB / 0.7909 GB, free: 27.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/1.703, allocations: 3.489 MB / 0.7943 GB, free: 25.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.703, allocations: 36.66 kB / 0.7944 GB, free: 25.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03377/1.737, allocations: 9.198 MB / 0.8034 GB, free: 22.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.737, allocations: 62.62 kB / 0.8034 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01847/1.756, allocations: 3.605 MB / 0.8069 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/1.773, allocations: 1.941 MB / 0.8088 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008555/1.782, allocations: 1.401 MB / 0.8102 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.796, allocations: 5.983 MB / 0.816 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008488/1.804, allocations: 424.7 kB / 0.8164 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.806, allocations: 374.6 kB / 0.8168 GB, free: 13.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 743 * 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.007577/1.814, allocations: 2.123 MB / 0.8189 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.815, allocations: 343.6 kB / 0.8192 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.827, allocations: 3.156 MB / 0.8223 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008693/1.836, allocations: 2.678 MB / 0.8249 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.836, allocations: 0 / 0.8249 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.821e-05/1.836, allocations: 10.94 kB / 0.8249 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/1.865, allocations: 9.169 MB / 0.8339 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.865, allocations: 0 / 0.8339 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.868, allocations: 276.7 kB / 0.8341 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005916/1.874, allocations: 1.026 MB / 0.8351 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/1.874, allocations: 38.89 kB / 0.8352 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.884, allocations: 5.104 MB / 0.8402 GB, free: 9.988 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001585/1.886, allocations: 1.485 MB / 0.8416 GB, free: 8.418 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0209/1.907, allocations: 5.717 MB / 0.8472 GB, free: 3.223 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/1.91, allocations: 412.5 kB / 0.8476 GB, free: 2.797 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002356/1.912, allocations: 31.95 kB / 0.8476 GB, free: 2.766 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006534/1.919, allocations: 151.7 kB / 0.8478 GB, free: 2.621 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/1.92, allocations: 92.8 kB / 0.8478 GB, free: 2.531 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006443/1.921, allocations: 51.97 kB / 0.8479 GB, free: 2.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01385/1.935, allocations: 2.466 MB / 0.8503 GB, free: 36 kB / 0.4949 GB Notification: Performance of sort global known variables: time 1.242e-06/1.935, allocations: 0 / 0.8503 GB, free: 36 kB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01684/1.952, allocations: 1.092 MB / 0.8514 GB, free: 14.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * 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.01805/1.97, allocations: 6.688 MB / 0.8579 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01852/1.988, allocations: 5.794 MB / 0.8636 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.988, allocations: 0 / 0.8636 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008495/1.997, allocations: 2.268 MB / 0.8658 GB, free: 20 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3617/2.359, allocations: 402 kB / 0.8662 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/2.479, allocations: 127.5 MB / 0.9907 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007919/2.487, allocations: 3.383 MB / 0.994 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004996/2.492, allocations: 1.949 MB / 0.9959 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/2.492, allocations: 0 / 0.9959 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.018/7.51, allocations: 153.8 MB / 1.146 GB, free: 136.4 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat