Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",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.001077/0.001077, allocations: 95.89 kB / 15.68 MB, free: 488 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.001405/0.001405, allocations: 179.2 kB / 16.57 MB, free: 6.844 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.888/1.888, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4211/0.4211, allocations: 43.55 MB / 314.5 MB, free: 8.988 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.0005288/0.0005289, allocations: 20 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2732/0.4098, allocations: 77.54 MB / 0.5082 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04245/0.4523, allocations: 17.3 MB / 0.5251 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01983/0.4722, allocations: 383.9 kB / 0.5255 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01814/0.4904, allocations: 3.889 MB / 0.5293 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04108/0.5315, allocations: 11.03 MB / 0.54 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006127/0.5376, allocations: 0.8542 MB / 0.5409 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04197/0.5796, allocations: 27.41 MB / 0.5676 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.5903, allocations: 7.399 MB / 0.5749 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.5936, allocations: 1.635 MB / 0.5765 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.5968, allocations: 2.212 MB / 0.5786 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009032/0.5977, allocations: 232 kB / 0.5788 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.6003, allocations: 0.9832 MB / 0.5798 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.6031, allocations: 2.626 MB / 0.5824 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.6048, allocations: 1.345 MB / 0.5837 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.6165, allocations: 8.888 MB / 0.5924 GB, free: 6.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6165, allocations: 4 kB / 0.5924 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.6165, allocations: 4 kB / 0.5924 GB, free: 6.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004139/0.6169, allocations: 0 / 0.5924 GB, free: 6.758 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01973/0.6367, allocations: 6.976 MB / 0.5992 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6367, allocations: 12.03 kB / 0.5992 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003552/0.6403, allocations: 1.124 MB / 0.6003 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04398/0.6843, allocations: 8.276 MB / 0.6084 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.6959, allocations: 4.792 MB / 0.613 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.6963, allocations: 381.9 kB / 0.6134 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.6983, allocations: 0.5152 MB / 0.6139 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2939/0.9921, allocations: 15.67 MB / 0.6292 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003424/0.9925, allocations: 71.91 kB / 0.6293 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/0.9942, allocations: 243 kB / 0.6295 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005355/0.9995, allocations: 3.061 MB / 0.6325 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/1.028, allocations: 13.17 MB / 0.6454 GB, free: 137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09139/1.119, allocations: 61.29 MB / 0.7052 GB, free: 95.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.134, allocations: 6.768 MB / 0.7118 GB, free: 90.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/1.152, allocations: 9.33 MB / 0.7209 GB, free: 81.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.152, allocations: 60.56 kB / 0.721 GB, free: 81.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 5.48e-06/1.152, allocations: 0 / 0.721 GB, free: 81.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07407/1.226, allocations: 32.12 MB / 0.7524 GB, free: 48.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/1.226, allocations: 243.9 kB / 0.7526 GB, free: 48.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009359/1.236, allocations: 7.219 MB / 0.7596 GB, free: 41.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009168/1.237, allocations: 73.7 kB / 0.7597 GB, free: 41.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.239, allocations: 4.804 MB / 0.7644 GB, free: 36.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.241, allocations: 1.181 MB / 0.7656 GB, free: 35.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/1.242, allocations: 182.6 kB / 0.7657 GB, free: 35.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003878/1.242, allocations: 0.6942 MB / 0.7664 GB, free: 34.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/1.247, allocations: 3.672 MB / 0.77 GB, free: 30.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007555/1.255, allocations: 8.946 MB / 0.7787 GB, free: 19.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007551/1.262, allocations: 5.588 MB / 0.7842 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.262, allocations: 52 kB / 0.7842 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02682/1.289, allocations: 13.93 MB / 0.7978 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.29, allocations: 88 kB / 0.7979 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.29, allocations: 188 kB / 0.7981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/1.294, allocations: 1.809 MB / 0.7999 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008088/1.303, allocations: 2.121 MB / 0.8019 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/1.321, allocations: 12.33 MB / 0.814 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/1.333, allocations: 0.5266 MB / 0.8145 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/1.336, allocations: 0.5381 MB / 0.815 GB, free: 13.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1102): * Single equations (assignments): 1095 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008328/1.345, allocations: 3.234 MB / 0.8182 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/1.346, allocations: 0.59 MB / 0.8188 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.359, allocations: 6.966 MB / 0.8256 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/1.359, allocations: 32 kB / 0.8256 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.493e-05/1.359, allocations: 12 kB / 0.8256 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/1.359, allocations: 15.95 kB / 0.8256 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3377/1.697, allocations: 15.52 MB / 0.8408 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.697, allocations: 11.03 kB / 0.8408 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/1.7, allocations: 0.517 MB / 0.8413 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/1.703, allocations: 1.532 MB / 0.8428 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004025/1.704, allocations: 55 kB / 0.8428 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.717, allocations: 11.48 MB / 0.854 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.718, allocations: 8.844 kB / 0.8541 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.74, allocations: 12.15 MB / 0.8659 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005337/1.745, allocations: 1.185 MB / 0.8671 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/1.748, allocations: 54.88 kB / 0.8671 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/1.752, allocations: 208 kB / 0.8673 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.752, allocations: 194.6 kB / 0.8675 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/1.752, allocations: 83.86 kB / 0.8676 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01334/1.766, allocations: 4.651 MB / 0.8721 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.12e-07/1.766, allocations: 0.8438 kB / 0.8721 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01376/1.78, allocations: 1.695 MB / 0.8738 GB, free: 140.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02036/1.8, allocations: 13.53 MB / 0.887 GB, free: 134 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.816, allocations: 8.983 MB / 0.8958 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/1.816, allocations: 0 / 0.8958 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006656/1.823, allocations: 3.49 MB / 0.8992 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/1.829, allocations: 0.7137 MB / 0.8999 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3306/2.159, allocations: 164 MB / 1.06 GB, free: 104.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00721/2.167, allocations: 5.036 MB / 1.065 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008518/2.175, allocations: 2.983 MB / 1.068 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006547/2.182, allocations: 3.214 MB / 1.071 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/2.182, allocations: 0 / 1.071 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2324/2.414, allocations: 132.1 MB / 1.2 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/2.414, allocations: 203.5 kB / 1.2 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.914/8.328, allocations: 4.062 kB / 1.2 GB, free: 3.375 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat