Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 95.45 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 209.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 45.92 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3805/0.5061, allocations: 95.33 MB / 0.5633 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.052/0.5581, allocations: 21.18 MB / 0.584 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02332/0.5815, allocations: 478.9 kB / 0.5845 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01831/0.5999, allocations: 4.856 MB / 0.5892 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05057/0.6505, allocations: 13.57 MB / 0.6025 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.6576, allocations: 1.053 MB / 0.6035 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0971/0.7548, allocations: 72.41 MB / 0.6742 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01136/0.7662, allocations: 7.827 MB / 0.6819 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.7701, allocations: 1.729 MB / 0.6836 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/0.7741, allocations: 2.321 MB / 0.6858 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009541/0.7751, allocations: 240 kB / 0.686 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.7776, allocations: 0.9794 MB / 0.687 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002932/0.7805, allocations: 2.798 MB / 0.6897 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.7825, allocations: 1.411 MB / 0.6911 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.7936, allocations: 9.43 MB / 0.7003 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7937, allocations: 0 / 0.7003 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7937, allocations: 0 / 0.7003 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003514/0.794, allocations: 0 / 0.7003 GB, free: 6.992 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.4638/1.258, allocations: 7.34 MB / 0.7075 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.258, allocations: 12.28 kB / 0.7075 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005118/1.263, allocations: 1.151 MB / 0.7086 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06465/1.328, allocations: 11.2 MB / 0.7196 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.343, allocations: 5.201 MB / 0.7246 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004816/1.343, allocations: 404.7 kB / 0.725 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.346, allocations: 0.5371 MB / 0.7256 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/1.376, allocations: 16.09 MB / 0.7413 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/1.376, allocations: 79.3 kB / 0.7414 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007604/1.377, allocations: 253.5 kB / 0.7416 GB, free: 169 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004497/1.381, allocations: 3.058 MB / 0.7446 GB, free: 166 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/1.405, allocations: 13.2 MB / 0.7575 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07346/1.478, allocations: 63.08 MB / 0.8191 GB, free: 88.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.492, allocations: 5.548 MB / 0.8245 GB, free: 82.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/1.492, allocations: 47.66 kB / 0.8245 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/1.492, allocations: 59.55 kB / 0.8246 GB, free: 82.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 5.791e-06/1.492, allocations: 0 / 0.8246 GB, free: 82.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.06962/1.562, allocations: 29.8 MB / 0.8537 GB, free: 52.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.562, allocations: 282.9 kB / 0.854 GB, free: 52.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009909/1.572, allocations: 7.493 MB / 0.8613 GB, free: 44.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007843/1.573, allocations: 69.7 kB / 0.8613 GB, free: 44.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00311/1.576, allocations: 4.983 MB / 0.8662 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.577, allocations: 1.017 MB / 0.8672 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.578, allocations: 168 kB / 0.8674 GB, free: 38.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003937/1.578, allocations: 0.6695 MB / 0.868 GB, free: 37.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.582, allocations: 3.179 MB / 0.8711 GB, free: 34.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006014/1.588, allocations: 8.388 MB / 0.8793 GB, free: 23.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006199/1.594, allocations: 5.049 MB / 0.8842 GB, free: 18.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.199e-05/1.594, allocations: 52 kB / 0.8843 GB, free: 18.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.02044/1.615, allocations: 12.55 MB / 0.8965 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.615, allocations: 86.97 kB / 0.8966 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/1.615, allocations: 184.9 kB / 0.8968 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.619, allocations: 1.56 MB / 0.8983 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/1.626, allocations: 2.004 MB / 0.9003 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.642, allocations: 12.62 MB / 0.9126 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008832/1.651, allocations: 483.2 kB / 0.9131 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/1.653, allocations: 0.5117 MB / 0.9136 GB, free: 4.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1037): * Single equations (assignments): 1031 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009095/1.662, allocations: 3.3 MB / 0.9168 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/1.665, allocations: 0.5978 MB / 0.9174 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2906/1.955, allocations: 5.602 MB / 0.9228 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.252e-05/1.956, allocations: 32.5 kB / 0.9229 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-05/1.956, allocations: 10.78 kB / 0.9229 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-05/1.956, allocations: 16.06 kB / 0.9229 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04055/1.996, allocations: 13.53 MB / 0.9361 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.996, allocations: 6.031 kB / 0.9361 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003476/2, allocations: 457.1 kB / 0.9366 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004219/2.004, allocations: 1.25 MB / 0.9378 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005122/2.005, allocations: 47.75 kB / 0.9378 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/2.019, allocations: 11.66 MB / 0.9492 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.019, allocations: 0 / 0.9492 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/2.034, allocations: 9.539 MB / 0.9585 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/2.037, allocations: 0.6823 MB / 0.9592 GB, free: 162.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/2.038, allocations: 43.83 kB / 0.9592 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003732/2.042, allocations: 163.3 kB / 0.9594 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/2.043, allocations: 150 kB / 0.9595 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/2.043, allocations: 66.86 kB / 0.9596 GB, free: 162.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01022/2.053, allocations: 4.821 MB / 0.9643 GB, free: 160.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.81e-07/2.053, allocations: 4.812 kB / 0.9643 GB, free: 160.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01104/2.065, allocations: 1.629 MB / 0.9659 GB, free: 159.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (204): * Single equations (assignments): 198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01686/2.081, allocations: 10.43 MB / 0.9761 GB, free: 149.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01235/2.094, allocations: 8.001 MB / 0.9839 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.094, allocations: 0 / 0.9839 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004506/2.098, allocations: 2.947 MB / 0.9868 GB, free: 138.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.104, allocations: 0.8085 MB / 0.9876 GB, free: 137.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4271/2.531, allocations: 192.8 MB / 1.176 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005986/2.537, allocations: 5.163 MB / 1.181 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00794/2.545, allocations: 2.83 MB / 1.184 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004337/2.549, allocations: 3.335 MB / 1.187 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.353e-06/2.549, allocations: 2.812 kB / 1.187 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/2.72, allocations: 132.7 MB / 1.316 GB, free: 26.57 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/2.72, allocations: 201.5 kB / 1.317 GB, free: 26.33 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.155/8.875, allocations: 7.938 kB / 1.317 GB, free: 26.32 MB / 0.5607 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat