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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 179.2 kB / 16.57 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5014/0.5014, allocations: 43.54 MB / 314.5 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 12 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.377/0.543, allocations: 43.14 MB / 486 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03033/0.5735, allocations: 10.5 MB / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01341/0.5869, allocations: 207 kB / 496.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.597, allocations: 2.123 MB / 498.8 MB, free: 16.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02624/0.6233, allocations: 6.194 MB / 0.4932 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.6293, allocations: 0.5826 MB / 0.4937 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008566/0.6379, allocations: 2.161 MB / 0.4958 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.6495, allocations: 4.615 MB / 0.5003 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.6541, allocations: 1.032 MB / 0.5014 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.6589, allocations: 1.329 MB / 0.5027 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.6608, allocations: 147 kB / 0.5028 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.6655, allocations: 0.8883 MB / 0.5037 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.6702, allocations: 1.603 MB / 0.5052 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00377/0.674, allocations: 0.861 MB / 0.5061 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.6868, allocations: 5.663 MB / 0.5116 GB, free: 5.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6868, allocations: 4 kB / 0.5116 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.6868, allocations: 0 / 0.5116 GB, free: 5.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004844/0.6873, allocations: 1.062 kB / 0.5116 GB, free: 5.676 MB / 382.1 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.01754/0.7049, allocations: 4.046 MB / 0.5156 GB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.705, allocations: 12.92 kB / 0.5156 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00387/0.7088, allocations: 0.7488 MB / 0.5163 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/0.7187, allocations: 2.293 MB / 0.5185 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008751/0.7275, allocations: 2.461 MB / 0.5209 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004771/0.7281, allocations: 255.3 kB / 0.5212 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/0.7311, allocations: 425.3 kB / 0.5216 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/0.765, allocations: 10.49 MB / 0.5318 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003782/0.7654, allocations: 43.59 kB / 0.5319 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/0.7679, allocations: 159.8 kB / 0.532 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004226/0.7722, allocations: 1.943 MB / 0.5339 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0254/0.7976, allocations: 8.742 MB / 0.5425 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06851/0.8662, allocations: 40.57 MB / 0.5821 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.8768, allocations: 3.829 MB / 0.5858 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/0.8936, allocations: 8.309 MB / 0.5939 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.8937, allocations: 55.48 kB / 0.594 GB, free: 2.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.791e-06/0.8937, allocations: 4 kB / 0.594 GB, free: 2.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03744/0.9312, allocations: 13.39 MB / 0.6071 GB, free: 5.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001549/0.9328, allocations: 1.651 MB / 0.6087 GB, free: 3.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007489/0.9403, allocations: 4.092 MB / 0.6127 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006044/0.9409, allocations: 49.69 kB / 0.6127 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003014/0.944, allocations: 3.213 MB / 0.6159 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.9454, allocations: 0.6442 MB / 0.6165 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.9458, allocations: 120 kB / 0.6166 GB, free: 11.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004349/0.9462, allocations: 0.5545 MB / 0.6171 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00399/0.9502, allocations: 2.206 MB / 0.6193 GB, free: 8.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008692/0.9589, allocations: 5.916 MB / 0.6251 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00789/0.9669, allocations: 3.519 MB / 0.6285 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.967, allocations: 40 kB / 0.6285 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02575/0.9928, allocations: 9.6 MB / 0.6379 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.9929, allocations: 60 kB / 0.638 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3454/1.338, allocations: 3.903 MB / 0.6418 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/1.349, allocations: 2.244 MB / 0.644 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00534/1.354, allocations: 1.397 MB / 0.6453 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/1.364, allocations: 7.266 MB / 0.6524 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00643/1.371, allocations: 429.2 kB / 0.6529 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.373, allocations: 371 kB / 0.6532 GB, free: 147.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 (750): * Single equations (assignments): 741 * 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.007682/1.38, allocations: 2.119 MB / 0.6553 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.381, allocations: 339.7 kB / 0.6556 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/1.388, allocations: 3.173 MB / 0.6587 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004865/1.393, allocations: 2.691 MB / 0.6613 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.393, allocations: 4.125 kB / 0.6613 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/1.393, allocations: 6.75 kB / 0.6613 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.417, allocations: 9.167 MB / 0.6703 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.417, allocations: 2.406 kB / 0.6703 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.419, allocations: 268.4 kB / 0.6705 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/1.422, allocations: 1.04 MB / 0.6716 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/1.422, allocations: 44.36 kB / 0.6716 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00638/1.429, allocations: 5.112 MB / 0.6766 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008937/1.429, allocations: 1.496 MB / 0.6781 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.44, allocations: 5.7 MB / 0.6836 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.442, allocations: 422.9 kB / 0.684 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.442, allocations: 36.64 kB / 0.6841 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.444, allocations: 146 kB / 0.6842 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.444, allocations: 95.88 kB / 0.6843 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.445, allocations: 48.78 kB / 0.6843 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005635/1.45, allocations: 2.558 MB / 0.6868 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.45, allocations: 1.281 kB / 0.6868 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007597/1.458, allocations: 1.125 MB / 0.6879 GB, free: 133.9 MB / 0.4981 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 {(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.008868/1.467, allocations: 6.712 MB / 0.6945 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.479, allocations: 5.824 MB / 0.7002 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.479, allocations: 0 / 0.7002 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/1.483, allocations: 2.249 MB / 0.7024 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.486, allocations: 418.3 kB / 0.7028 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/1.59, allocations: 127.3 MB / 0.8271 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006757/1.597, allocations: 3.384 MB / 0.8304 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006063/1.603, allocations: 1.904 MB / 0.8323 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004847/1.608, allocations: 1.893 MB / 0.8341 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of SimCode: time 2.725e-06/1.608, allocations: 0 / 0.8341 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4679/2.076, allocations: 80.11 MB / 0.9124 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/2.076, allocations: 217.6 kB / 0.9126 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.774, allocations: 0 / 0.9126 GB, free: 128.5 MB / 0.5137 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) Environment - environmentSimulation: 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