Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.000883, allocations: 99.59 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 181.9 kB / 17.89 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2393/0.2393, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 4.219 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.04493/0.1758, allocations: 45.05 MB / 0.5046 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3395/0.5154, allocations: 10 MB / 0.5144 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.527, allocations: 210.1 kB / 0.5146 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009274/0.5363, allocations: 2.325 MB / 0.5168 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02441/0.5608, allocations: 6.908 MB / 0.5236 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.5646, allocations: 0.588 MB / 0.5241 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.5719, allocations: 4.32 MB / 0.5284 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006982/0.5789, allocations: 4.602 MB / 0.5329 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.5817, allocations: 1.198 MB / 0.534 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.5848, allocations: 1.806 MB / 0.5358 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000625/0.5854, allocations: 133.8 kB / 0.5359 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.5877, allocations: 0.9212 MB / 0.5368 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.5893, allocations: 1.639 MB / 0.5384 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5904, allocations: 0.817 MB / 0.5392 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007643/0.5981, allocations: 5.517 MB / 0.5446 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5981, allocations: 3.5 kB / 0.5446 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5981, allocations: 64 / 0.5446 GB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003178/0.5985, allocations: 1.531 kB / 0.5446 GB, free: 0 / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.009868/0.6083, allocations: 3.874 MB / 0.5484 GB, free: 12.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6084, allocations: 8.031 kB / 0.5484 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002607/0.611, allocations: 0.7242 MB / 0.5491 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/0.6186, allocations: 1.959 MB / 0.551 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/0.6246, allocations: 2.449 MB / 0.5534 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.6249, allocations: 241.9 kB / 0.5536 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.6266, allocations: 405.3 kB / 0.554 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.6553, allocations: 9.9 MB / 0.5637 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/0.6557, allocations: 35.69 kB / 0.5637 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.6574, allocations: 157.7 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004194/0.6616, allocations: 1.821 MB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/0.687, allocations: 8.179 MB / 0.5736 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06483/0.7519, allocations: 38.75 MB / 0.6115 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009115/0.7611, allocations: 3.685 MB / 0.6151 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.7636, allocations: 1.612 MB / 0.6167 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.7754, allocations: 7.804 MB / 0.6243 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.7755, allocations: 55.5 kB / 0.6243 GB, free: 1.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=141): time 4.148e-06/0.7755, allocations: 0 / 0.6243 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.03163/0.8071, allocations: 12.34 MB / 0.6364 GB, free: 4.566 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001532/0.8087, allocations: 1.609 MB / 0.638 GB, free: 2.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006399/0.8151, allocations: 3.82 MB / 0.6417 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004654/0.8156, allocations: 52.05 kB / 0.6417 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.818, allocations: 3.05 MB / 0.6447 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.819, allocations: 0.5996 MB / 0.6453 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.8193, allocations: 112 kB / 0.6454 GB, free: 11.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003396/0.8197, allocations: 0.5458 MB / 0.6459 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.8227, allocations: 2.006 MB / 0.6479 GB, free: 8.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005638/0.8284, allocations: 5.638 MB / 0.6534 GB, free: 1.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/0.8334, allocations: 3.283 MB / 0.6566 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.657e-05/0.8335, allocations: 40 kB / 0.6566 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01994/0.8534, allocations: 8.796 MB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/0.8535, allocations: 60 kB / 0.6653 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008471/0.862, allocations: 3.253 MB / 0.6685 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007886/0.8699, allocations: 1.86 MB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004485/0.8744, allocations: 1.326 MB / 0.6716 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008618/0.8831, allocations: 5.752 MB / 0.6772 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/0.889, allocations: 398.1 kB / 0.6776 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/0.8902, allocations: 360 kB / 0.6779 GB, free: 7.73 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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 (712): * Single equations (assignments): 703 * 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.004232/0.8945, allocations: 2.028 MB / 0.6799 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/0.8952, allocations: 329.4 kB / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/0.9011, allocations: 2.932 MB / 0.6831 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004486/0.9056, allocations: 2.48 MB / 0.6855 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.9057, allocations: 4 kB / 0.6855 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.9057, allocations: 11.97 kB / 0.6855 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.9206, allocations: 8.546 MB / 0.6939 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.9207, allocations: 0 / 0.6939 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.9219, allocations: 243.6 kB / 0.6941 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/0.9249, allocations: 1.037 MB / 0.6951 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.9252, allocations: 38.56 kB / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0059/0.9311, allocations: 5.015 MB / 0.7 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2943/1.225, allocations: 1.476 MB / 0.7015 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009694/1.235, allocations: 5.172 MB / 0.7065 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.236, allocations: 392.6 kB / 0.7069 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.237, allocations: 35.02 kB / 0.7069 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.238, allocations: 139.9 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/1.238, allocations: 91 kB / 0.7072 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.239, allocations: 43.66 kB / 0.7072 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005023/1.244, allocations: 2.363 MB / 0.7095 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/1.244, allocations: 0 / 0.7095 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007387/1.251, allocations: 1.032 MB / 0.7105 GB, free: 182.3 MB / 0.5294 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 (114): * Single equations (assignments): 107 * 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 {(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 Backend phase and start with SimCode phase: time 0.01032/1.261, allocations: 5.814 MB / 0.7162 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.272, allocations: 5.445 MB / 0.7215 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.272, allocations: 3.688 kB / 0.7215 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.276, allocations: 2.135 MB / 0.7236 GB, free: 177 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.279, allocations: 423.9 kB / 0.724 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06919/1.348, allocations: 33.91 MB / 0.7571 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005993/1.354, allocations: 3.16 MB / 0.7602 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005102/1.359, allocations: 1.814 MB / 0.762 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003273/1.363, allocations: 1.784 MB / 0.7637 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.044e-06/1.363, allocations: 0 / 0.7637 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.48, allocations: 74.79 MB / 0.8368 GB, free: 67.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.481, allocations: 215.1 kB / 0.837 GB, free: 67.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/5.169, allocations: 3.938 kB / 0.837 GB, free: 67.33 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat