Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.WorldTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001647, allocations: 122.8 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2538/0.2538, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003193/0.003193, allocations: 79.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3425, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01944/0.3621, allocations: 15.39 MB / 0.5457 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3745, allocations: 5.059 MB / 0.5506 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.3788, allocations: 107.7 kB / 0.5507 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.389, allocations: 5 MB / 0.5556 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007296/0.3963, allocations: 2.509 MB / 0.558 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.3997, allocations: 1.24 MB / 0.5592 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01275/0.4124, allocations: 7.96 MB / 0.567 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00854/0.421, allocations: 5.98 MB / 0.5729 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.4265, allocations: 2.523 MB / 0.5753 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006754/0.4333, allocations: 3.447 MB / 0.5787 GB, free: 292 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003401/0.4368, allocations: 0.5352 MB / 0.5792 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/0.4418, allocations: 1.549 MB / 0.5807 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.4466, allocations: 3.137 MB / 0.5838 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006989/0.4537, allocations: 3.562 MB / 0.5873 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.471, allocations: 11.07 MB / 0.5981 GB, free: 12.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.471, allocations: 0 / 0.5981 GB, free: 12.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4711, allocations: 0 / 0.5981 GB, free: 12.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004431/0.4715, allocations: 0 / 0.5981 GB, free: 12.35 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02359/0.4951, allocations: 8.01 MB / 0.6059 GB, free: 4.246 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4952, allocations: 8.031 kB / 0.6059 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003234/0.4984, allocations: 1.016 MB / 0.6069 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05874/0.5572, allocations: 8.324 MB / 0.615 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/0.5714, allocations: 5.446 MB / 0.6203 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000456/0.572, allocations: 365.7 kB / 0.6207 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.5743, allocations: 487.7 kB / 0.6212 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/0.6053, allocations: 14.09 MB / 0.6349 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003191/0.6056, allocations: 79.34 kB / 0.635 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.607, allocations: 235.8 kB / 0.6352 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004725/0.6117, allocations: 2.535 MB / 0.6377 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/0.6369, allocations: 11.45 MB / 0.6489 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07594/0.7129, allocations: 55.26 MB / 0.7028 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.725, allocations: 4.461 MB / 0.7072 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/0.729, allocations: 2.708 MB / 0.7098 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.7291, allocations: 37.64 kB / 0.7099 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.7292, allocations: 59.44 kB / 0.7099 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.408e-06/0.7292, allocations: 4 kB / 0.7099 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.3144/1.044, allocations: 20.78 MB / 0.7302 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.044, allocations: 251 kB / 0.7305 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008179/1.052, allocations: 6.71 MB / 0.737 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/1.052, allocations: 60.73 kB / 0.7371 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002396/1.055, allocations: 4.714 MB / 0.7417 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/1.056, allocations: 0.8506 MB / 0.7425 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/1.057, allocations: 1.565 MB / 0.744 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/1.057, allocations: 301.1 kB / 0.7443 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/1.06, allocations: 2.567 MB / 0.7468 GB, free: 149 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/1.065, allocations: 7.441 MB / 0.7541 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008421/1.073, allocations: 10.85 MB / 0.7647 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.073, allocations: 52 kB / 0.7648 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=996) (initialization): time 0.0162/1.089, allocations: 10.47 MB / 0.775 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.09, allocations: 82.34 kB / 0.7751 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/1.09, allocations: 175.3 kB / 0.7752 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/1.092, allocations: 1.019 MB / 0.7762 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005082/1.097, allocations: 1.747 MB / 0.7779 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009236/1.106, allocations: 10.36 MB / 0.788 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/1.114, allocations: 419.7 kB / 0.7884 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.115, allocations: 479.3 kB / 0.7889 GB, free: 102.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (930): * Single equations (assignments): 924 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00482/1.12, allocations: 2.964 MB / 0.7918 GB, free: 99.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.121, allocations: 0.5859 MB / 0.7924 GB, free: 98.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/1.127, allocations: 3.75 MB / 0.796 GB, free: 94.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/1.127, allocations: 20 kB / 0.7961 GB, free: 94.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/1.127, allocations: 11.94 kB / 0.7961 GB, free: 94.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.127, allocations: 15.95 kB / 0.7961 GB, free: 94.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.143, allocations: 9.98 MB / 0.8058 GB, free: 84.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.143, allocations: 8 kB / 0.8058 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.145, allocations: 315.5 kB / 0.8061 GB, free: 84.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/1.147, allocations: 0.7438 MB / 0.8069 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.147, allocations: 35.98 kB / 0.8069 GB, free: 83.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/1.155, allocations: 9.444 MB / 0.8161 GB, free: 73.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.155, allocations: 0 / 0.8161 GB, free: 73.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/1.164, allocations: 6.62 MB / 0.8226 GB, free: 67.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.166, allocations: 0.6337 MB / 0.8232 GB, free: 66.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007502/1.167, allocations: 36.06 kB / 0.8232 GB, free: 66.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.168, allocations: 127.5 kB / 0.8234 GB, free: 66.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/1.169, allocations: 121.2 kB / 0.8235 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.169, allocations: 55.98 kB / 0.8235 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005723/1.175, allocations: 4.283 MB / 0.8277 GB, free: 61.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.81e-07/1.175, allocations: 3.938 kB / 0.8277 GB, free: 61.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007276/1.182, allocations: 1.363 MB / 0.829 GB, free: 60.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008237/1.19, allocations: 7.273 MB / 0.8361 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008702/1.199, allocations: 6.527 MB / 0.8425 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.199, allocations: 0 / 0.8425 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.201, allocations: 2.101 MB / 0.8446 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/1.206, allocations: 0.7976 MB / 0.8453 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1054/1.311, allocations: 66.46 MB / 0.9103 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006741/1.318, allocations: 4.532 MB / 0.9147 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005963/1.324, allocations: 2.492 MB / 0.9171 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004654/1.329, allocations: 2.924 MB / 0.92 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/1.329, allocations: 0 / 0.92 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.454/1.783, allocations: 106.2 MB / 1.024 GB, free: 177.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/24.91, allocations: 11.8 kB / 1.024 GB, free: 177.5 MB / 0.6387 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1)