Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 98.27 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 202.1 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3232/0.4431, allocations: 38.95 MB / 0.5083 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02338/0.4665, allocations: 9.623 MB / 0.5177 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01048/0.4771, allocations: 193.2 kB / 0.5179 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008792/0.4859, allocations: 2.004 MB / 0.5198 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02563/0.5116, allocations: 5.791 MB / 0.5255 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.516, allocations: 491.9 kB / 0.5259 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.5216, allocations: 2.23 MB / 0.5281 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007512/0.5292, allocations: 4.108 MB / 0.5321 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.5317, allocations: 0.9487 MB / 0.5331 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.5342, allocations: 1.285 MB / 0.5343 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009089/0.5351, allocations: 145.6 kB / 0.5345 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.5384, allocations: 0.8343 MB / 0.5353 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002741/0.5411, allocations: 1.574 MB / 0.5368 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.5432, allocations: 0.8699 MB / 0.5377 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009885/0.5531, allocations: 5.807 MB / 0.5433 GB, free: 2.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5531, allocations: 0 / 0.5433 GB, free: 2.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.5532, allocations: 4 kB / 0.5433 GB, free: 2.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003925/0.5536, allocations: 1.812 kB / 0.5433 GB, free: 2.211 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01454/0.5681, allocations: 4.401 MB / 0.5476 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.5682, allocations: 11.33 kB / 0.5476 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003611/0.5718, allocations: 0.8154 MB / 0.5484 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.5855, allocations: 3.821 MB / 0.5522 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007318/0.5929, allocations: 2.288 MB / 0.5544 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.5932, allocations: 249 kB / 0.5546 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.5949, allocations: 320.9 kB / 0.5549 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.6169, allocations: 11.61 MB / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.6171, allocations: 23.72 kB / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005375/0.6177, allocations: 150.5 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004347/0.622, allocations: 2.578 MB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.6469, allocations: 10.73 MB / 0.5794 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06399/0.7109, allocations: 36.7 MB / 0.6153 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/0.7196, allocations: 4.28 MB / 0.6195 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.7212, allocations: 1.317 MB / 0.6207 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.7213, allocations: 56.56 kB / 0.6208 GB, free: 5.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 7.584e-06/0.7213, allocations: 0 / 0.6208 GB, free: 5.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=256): time 0.04062/0.7619, allocations: 14.28 MB / 0.6347 GB, free: 7.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.762, allocations: 73.41 kB / 0.6348 GB, free: 7.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.7664, allocations: 3.006 MB / 0.6378 GB, free: 3.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006159/0.7671, allocations: 68.59 kB / 0.6378 GB, free: 3.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002396/0.7695, allocations: 3.037 MB / 0.6408 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001478/0.7709, allocations: 0.9453 MB / 0.6417 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7712, allocations: 114.5 kB / 0.6418 GB, free: 15.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003937/0.7716, allocations: 0.5541 MB / 0.6424 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/0.7753, allocations: 2.319 MB / 0.6446 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006698/0.782, allocations: 5.505 MB / 0.65 GB, free: 5.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/0.7878, allocations: 3.571 MB / 0.6535 GB, free: 2.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-05/0.7879, allocations: 32 kB / 0.6535 GB, free: 2.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01651/0.8044, allocations: 8.544 MB / 0.6619 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.8045, allocations: 56 kB / 0.6619 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.8047, allocations: 112 kB / 0.662 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.8083, allocations: 1.06 MB / 0.6631 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/0.813, allocations: 1.33 MB / 0.6644 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.816, allocations: 2.513 MB / 0.6668 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/0.821, allocations: 315.8 kB / 0.6671 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.8221, allocations: 334.6 kB / 0.6674 GB, free: 3.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 713 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.004996/0.8271, allocations: 2.317 MB / 0.6697 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/0.8277, allocations: 296.1 kB / 0.67 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00903/0.8367, allocations: 4.96 MB / 0.6748 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.445e-05/0.8369, allocations: 50.41 kB / 0.6749 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.8369, allocations: 4 kB / 0.6749 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/0.8369, allocations: 7.969 kB / 0.6749 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/0.8601, allocations: 11.52 MB / 0.6861 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.8602, allocations: 8 kB / 0.6861 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.8619, allocations: 407.4 kB / 0.6865 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/0.8652, allocations: 0.9155 MB / 0.6874 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/0.8656, allocations: 55.98 kB / 0.6875 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.8685, allocations: 2.299 MB / 0.6897 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.8686, allocations: 11.94 kB / 0.6897 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.8821, allocations: 8.033 MB / 0.6976 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.8832, allocations: 341.2 kB / 0.6979 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004988/0.8838, allocations: 51.98 kB / 0.6979 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.885, allocations: 134.8 kB / 0.6981 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/0.8854, allocations: 149.6 kB / 0.6982 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.8856, allocations: 79.97 kB / 0.6983 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003068/0.8886, allocations: 1.842 MB / 0.7001 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8887, allocations: 4 kB / 0.7001 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005649/0.8943, allocations: 1.034 MB / 0.7011 GB, free: 0.5586 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.01329/0.9076, allocations: 10.63 MB / 0.7115 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3077/1.215, allocations: 6.081 MB / 0.7174 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.215, allocations: 1.5 kB / 0.7174 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005846/1.221, allocations: 2.541 MB / 0.7199 GB, free: 199.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.224, allocations: 462.3 kB / 0.7203 GB, free: 199.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08547/1.31, allocations: 110.3 MB / 0.828 GB, free: 103.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/1.314, allocations: 3.676 MB / 0.8316 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004665/1.319, allocations: 2.1 MB / 0.8337 GB, free: 100.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.321, allocations: 2.007 MB / 0.8356 GB, free: 98.44 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/1.321, allocations: 0 / 0.8356 GB, free: 98.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.424, allocations: 73.13 MB / 0.9071 GB, free: 25.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/1.424, allocations: 200.9 kB / 0.9072 GB, free: 25.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.733/5.157, allocations: 64 / 0.9072 GB, free: 25.46 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat