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.0007521/0.000752, allocations: 96.78 kB / 15.7 MB, free: 468 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.0009233/0.000923, allocations: 175.5 kB / 16.58 MB, free: 5.656 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.522/1.522, allocations: 205.4 MB / 222.7 MB, free: 5.504 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.3662/0.3662, allocations: 43.55 MB / 314.6 MB, free: 8.859 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.000515/0.0005152, allocations: 12 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3052/0.437, allocations: 45.63 MB / 488.5 MB, free: 22.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02807/0.4651, allocations: 10.09 MB / 498.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.478, allocations: 213.3 kB / 498.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008096/0.4861, allocations: 2.342 MB / 0.4894 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02757/0.5137, allocations: 6.964 MB / 0.4962 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.5179, allocations: 0.5836 MB / 0.4968 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008787/0.5267, allocations: 4.516 MB / 0.5012 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.5375, allocations: 4.666 MB / 0.5057 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.5413, allocations: 1.261 MB / 0.507 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004489/0.5458, allocations: 1.915 MB / 0.5088 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.5473, allocations: 146.5 kB / 0.509 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.5509, allocations: 0.9128 MB / 0.5099 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003064/0.554, allocations: 1.737 MB / 0.5116 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.556, allocations: 0.8648 MB / 0.5124 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006943/0.5629, allocations: 5.663 MB / 0.5179 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.5629, allocations: 0 / 0.5179 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.563, allocations: 2.844 kB / 0.5179 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.5633, allocations: 0 / 0.5179 GB, free: 1.477 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.01069/0.574, allocations: 4.028 MB / 0.5219 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.574, allocations: 8.906 kB / 0.5219 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002475/0.5765, allocations: 0.7515 MB / 0.5226 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/0.5832, allocations: 1.995 MB / 0.5246 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.5882, allocations: 2.663 MB / 0.5272 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.5884, allocations: 254.5 kB / 0.5274 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.5892, allocations: 431.6 kB / 0.5278 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.6062, allocations: 10.4 MB / 0.538 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.6064, allocations: 39.59 kB / 0.538 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.6068, allocations: 163.8 kB / 0.5382 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/0.6095, allocations: 1.939 MB / 0.5401 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.6255, allocations: 8.625 MB / 0.5485 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.6745, allocations: 40.41 MB / 0.5879 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00878/0.6834, allocations: 3.818 MB / 0.5917 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.6858, allocations: 1.754 MB / 0.5934 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.6973, allocations: 8.239 MB / 0.6014 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.6974, allocations: 47.55 kB / 0.6015 GB, free: 11.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 4.939e-06/0.6974, allocations: 0 / 0.6015 GB, free: 11.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02942/0.7269, allocations: 13.11 MB / 0.6143 GB, free: 13.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001248/0.7282, allocations: 1.62 MB / 0.6159 GB, free: 11.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/0.7338, allocations: 3.967 MB / 0.6197 GB, free: 8.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003606/0.7342, allocations: 49.69 kB / 0.6198 GB, free: 7.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00208/0.7363, allocations: 3.206 MB / 0.6229 GB, free: 4.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.7371, allocations: 0.6481 MB / 0.6235 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.7374, allocations: 116 kB / 0.6237 GB, free: 3.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003234/0.7377, allocations: 0.5544 MB / 0.6242 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.7407, allocations: 2.175 MB / 0.6263 GB, free: 1.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2608/1.002, allocations: 5.904 MB / 0.6321 GB, free: 135.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/1.008, allocations: 3.477 MB / 0.6355 GB, free: 135.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.964e-05/1.008, allocations: 38.56 kB / 0.6355 GB, free: 135.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01951/1.027, allocations: 9.24 MB / 0.6445 GB, free: 133.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/1.027, allocations: 67.14 kB / 0.6446 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008972/1.036, allocations: 3.542 MB / 0.6481 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007851/1.044, allocations: 1.875 MB / 0.6499 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/1.049, allocations: 1.393 MB / 0.6513 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/1.057, allocations: 5.772 MB / 0.6569 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007167/1.064, allocations: 418.3 kB / 0.6573 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/1.066, allocations: 374.6 kB / 0.6576 GB, free: 128.6 MB / 494.1 MB 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.00592/1.072, allocations: 2.12 MB / 0.6597 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.073, allocations: 340.2 kB / 0.66 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/1.08, allocations: 3.178 MB / 0.6631 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005416/1.086, allocations: 2.682 MB / 0.6658 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.086, allocations: 2.094 kB / 0.6658 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/1.086, allocations: 13.45 kB / 0.6658 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.107, allocations: 9.176 MB / 0.6747 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/1.107, allocations: 2.875 kB / 0.6747 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.109, allocations: 270.1 kB / 0.675 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.111, allocations: 1.034 MB / 0.676 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/1.112, allocations: 40.28 kB / 0.676 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004751/1.116, allocations: 5.017 MB / 0.6809 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007572/1.117, allocations: 1.478 MB / 0.6824 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007598/1.125, allocations: 5.557 MB / 0.6878 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.126, allocations: 420 kB / 0.6882 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.126, allocations: 26.52 kB / 0.6882 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.128, allocations: 150.8 kB / 0.6884 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/1.128, allocations: 95.88 kB / 0.6885 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.128, allocations: 45.89 kB / 0.6885 GB, free: 114.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00352/1.131, allocations: 2.463 MB / 0.6909 GB, free: 114 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.131, allocations: 4 kB / 0.6909 GB, free: 114 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005253/1.137, allocations: 1.084 MB / 0.692 GB, free: 113.7 MB / 494.1 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 (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.007014/1.144, allocations: 6.216 MB / 0.6981 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009386/1.153, allocations: 5.774 MB / 0.7037 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.153, allocations: 128 / 0.7037 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/1.156, allocations: 2.251 MB / 0.7059 GB, free: 99.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/1.159, allocations: 435.3 kB / 0.7063 GB, free: 99.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05996/1.219, allocations: 35.7 MB / 0.7412 GB, free: 60.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.222, allocations: 3.3 MB / 0.7444 GB, free: 56.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004534/1.227, allocations: 1.891 MB / 0.7462 GB, free: 54.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/1.229, allocations: 1.893 MB / 0.7481 GB, free: 52.94 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/1.229, allocations: 4 kB / 0.7481 GB, free: 52.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3209/1.55, allocations: 78.21 MB / 0.8245 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.55, allocations: 221.8 kB / 0.8247 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/5.149, allocations: 3.797 kB / 0.8247 GB, free: 136.7 MB / 0.4981 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