Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009905/0.0009905, allocations: 200.6 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 243.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007274/0.0007274, allocations: 95.17 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3607/0.3607, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3222, allocations: 62.96 MB / 0.516 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.02967/0.3519, allocations: 45.08 MB / 0.56 GB, free: 5.059 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3713, allocations: 10.02 MB / 0.5698 GB, free: 14.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008165/0.3795, allocations: 213.4 kB / 0.57 GB, free: 14.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007439/0.3869, allocations: 2.329 MB / 0.5722 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01852/0.4055, allocations: 6.927 MB / 0.579 GB, free: 8.723 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.4087, allocations: 0.6241 MB / 0.5796 GB, free: 8.098 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005611/0.4143, allocations: 4.405 MB / 0.5839 GB, free: 3.684 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006207/0.4205, allocations: 5.093 MB / 0.5889 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.4224, allocations: 1.203 MB / 0.5901 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4246, allocations: 1.811 MB / 0.5918 GB, free: 11.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.4251, allocations: 132 kB / 0.592 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.4271, allocations: 1.041 MB / 0.593 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.4285, allocations: 1.644 MB / 0.5946 GB, free: 8.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.4302, allocations: 1.842 MB / 0.5964 GB, free: 6.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.4351, allocations: 5.354 MB / 0.6016 GB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4352, allocations: 8 kB / 0.6016 GB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4352, allocations: 0 / 0.6016 GB, free: 1.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.4353, allocations: 0 / 0.6016 GB, free: 1.414 MB / 410.7 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.006885/0.4422, allocations: 3.816 MB / 0.6053 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.4423, allocations: 8.031 kB / 0.6054 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001346/0.4437, allocations: 0.7156 MB / 0.6061 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.4505, allocations: 2.019 MB / 0.608 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/0.4548, allocations: 2.373 MB / 0.6103 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.455, allocations: 250.2 kB / 0.6106 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008446/0.4559, allocations: 411.6 kB / 0.611 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.4711, allocations: 9.887 MB / 0.6206 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-05/0.4713, allocations: 47.53 kB / 0.6207 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.4716, allocations: 151.9 kB / 0.6208 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002717/0.4744, allocations: 1.826 MB / 0.6226 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4895, allocations: 8.173 MB / 0.6306 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04242/0.5319, allocations: 38.78 MB / 0.6685 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008748/0.5407, allocations: 3.68 MB / 0.6721 GB, free: 7.121 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.5428, allocations: 1.618 MB / 0.6736 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2367/0.7795, allocations: 7.81 MB / 0.6813 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7796, allocations: 49.84 kB / 0.6813 GB, free: 130.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 5.009e-06/0.7796, allocations: 0 / 0.6813 GB, free: 130.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02568/0.8053, allocations: 12.34 MB / 0.6934 GB, free: 126.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009484/0.8063, allocations: 1.614 MB / 0.6949 GB, free: 124.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/0.8108, allocations: 3.82 MB / 0.6987 GB, free: 123.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/0.8112, allocations: 51.77 kB / 0.6987 GB, free: 123.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.8127, allocations: 3.043 MB / 0.7017 GB, free: 120.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.8133, allocations: 0.6017 MB / 0.7023 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.8136, allocations: 117.2 kB / 0.7024 GB, free: 120.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.8138, allocations: 0.5492 MB / 0.7029 GB, free: 120 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.8168, allocations: 2.005 MB / 0.7049 GB, free: 119.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/0.8211, allocations: 5.641 MB / 0.7104 GB, free: 113.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/0.8292, allocations: 8.247 MB / 0.7184 GB, free: 106.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/0.8294, allocations: 36.81 kB / 0.7185 GB, free: 106.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01963/0.849, allocations: 8.859 MB / 0.7271 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/0.8491, allocations: 58.59 kB / 0.7272 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008779/0.8579, allocations: 3.322 MB / 0.7304 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008687/0.8667, allocations: 1.94 MB / 0.7323 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/0.8705, allocations: 1.32 MB / 0.7336 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/0.8772, allocations: 5.777 MB / 0.7392 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/0.8819, allocations: 403.2 kB / 0.7396 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/0.8827, allocations: 365.9 kB / 0.74 GB, free: 94.55 MB / 490.7 MB 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.002766/0.8854, allocations: 2.023 MB / 0.742 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/0.886, allocations: 327.8 kB / 0.7423 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.8907, allocations: 2.942 MB / 0.7451 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003844/0.8946, allocations: 2.478 MB / 0.7476 GB, free: 86.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.8946, allocations: 4 kB / 0.7476 GB, free: 86.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.8946, allocations: 7.969 kB / 0.7476 GB, free: 86.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.9072, allocations: 8.53 MB / 0.7559 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.9073, allocations: 4.094 kB / 0.7559 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.9083, allocations: 251.6 kB / 0.7561 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/0.911, allocations: 1.033 MB / 0.7572 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.9112, allocations: 41.8 kB / 0.7572 GB, free: 76.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.9154, allocations: 5.026 MB / 0.7621 GB, free: 71.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00067/0.9161, allocations: 1.475 MB / 0.7635 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.923, allocations: 5.176 MB / 0.7686 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/0.9239, allocations: 388.7 kB / 0.769 GB, free: 64.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/0.9243, allocations: 31.98 kB / 0.769 GB, free: 64.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.9257, allocations: 135.7 kB / 0.7691 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.926, allocations: 92.8 kB / 0.7692 GB, free: 64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.9262, allocations: 52.2 kB / 0.7693 GB, free: 63.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002876/0.929, allocations: 2.361 MB / 0.7716 GB, free: 61.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.929, allocations: 0 / 0.7716 GB, free: 61.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004858/0.9339, allocations: 1.025 MB / 0.7726 GB, free: 60.59 MB / 490.7 MB 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.006823/0.9408, allocations: 5.826 MB / 0.7783 GB, free: 54.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007883/0.9487, allocations: 5.447 MB / 0.7836 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9487, allocations: 4.062 kB / 0.7836 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.952, allocations: 2.136 MB / 0.7857 GB, free: 47.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.9552, allocations: 413.2 kB / 0.7861 GB, free: 46.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05067/1.006, allocations: 34.44 MB / 0.8197 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/1.009, allocations: 3.17 MB / 0.8228 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.011, allocations: 1.827 MB / 0.8246 GB, free: 3.602 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.011, allocations: 3.938 kB / 0.8246 GB, free: 3.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.974/8.985, allocations: 142.4 MB / 0.9637 GB, free: 103.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches