Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01086/0.01086, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001243/0.001243, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.044/2.044, allocations: 194.5 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3634/0.3634, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006434, allocations: 8 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1197, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.422/0.5417, allocations: 83.29 MB / 499.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04975/0.5916, allocations: 18.68 MB / 0.5059 GB, free: 1.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02011/0.6117, allocations: 409.4 kB / 0.5062 GB, free: 1.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01574/0.6275, allocations: 4.273 MB / 0.5104 GB, free: 404 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05139/0.679, allocations: 11.89 MB / 0.522 GB, free: 10.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007498/0.6865, allocations: 1.011 MB / 0.523 GB, free: 9.957 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.08012/0.7667, allocations: 26.21 MB / 0.5486 GB, free: 3.914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/0.7833, allocations: 7.444 MB / 0.5559 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.7884, allocations: 1.767 MB / 0.5576 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005882/0.7944, allocations: 2.469 MB / 0.56 GB, free: 8.219 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.7962, allocations: 256 kB / 0.5603 GB, free: 7.969 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.8007, allocations: 1.159 MB / 0.5614 GB, free: 6.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005115/0.8059, allocations: 2.86 MB / 0.5642 GB, free: 3.941 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.809, allocations: 1.435 MB / 0.5656 GB, free: 2.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.8257, allocations: 9.734 MB / 0.5751 GB, free: 8.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8258, allocations: 0 / 0.5751 GB, free: 8.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.8258, allocations: 0 / 0.5751 GB, free: 8.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004573/0.8263, allocations: 4 kB / 0.5751 GB, free: 8.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02865/0.8549, allocations: 7.414 MB / 0.5823 GB, free: 1.238 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.855, allocations: 12.03 kB / 0.5823 GB, free: 1.227 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005105/0.8601, allocations: 1.162 MB / 0.5835 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1252/0.9854, allocations: 11.22 MB / 0.5944 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/1.005, allocations: 5.684 MB / 0.6 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/1.005, allocations: 402.3 kB / 0.6004 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/1.008, allocations: 0.5308 MB / 0.6009 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04629/1.054, allocations: 16.38 MB / 0.6169 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/1.054, allocations: 75.31 kB / 0.617 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/1.056, allocations: 259.8 kB / 0.6172 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007189/1.063, allocations: 2.908 MB / 0.62 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6568/1.72, allocations: 13.4 MB / 0.6331 GB, free: 148.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/1.829, allocations: 61.82 MB / 0.6935 GB, free: 107.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02482/1.854, allocations: 5.939 MB / 0.6993 GB, free: 105.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/1.854, allocations: 56.53 kB / 0.6993 GB, free: 105.6 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/1.854, allocations: 62.23 kB / 0.6994 GB, free: 105.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=249): time 6.352e-06/1.854, allocations: 0 / 0.6994 GB, free: 105.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=267): time 0.1035/1.958, allocations: 24 MB / 0.7228 GB, free: 91.71 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.958, allocations: 261.2 kB / 0.7231 GB, free: 91.41 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/1.973, allocations: 7.372 MB / 0.7303 GB, free: 84.05 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000816/1.974, allocations: 65.64 kB / 0.7304 GB, free: 83.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004594/1.979, allocations: 5.03 MB / 0.7353 GB, free: 78.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.981, allocations: 1.028 MB / 0.7363 GB, free: 77.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/1.982, allocations: 172 kB / 0.7364 GB, free: 77.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005137/1.982, allocations: 0.6696 MB / 0.7371 GB, free: 77.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007944/1.99, allocations: 3.06 MB / 0.7401 GB, free: 74.03 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/2.001, allocations: 8.27 MB / 0.7482 GB, free: 63.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/2.013, allocations: 4.907 MB / 0.7529 GB, free: 58.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001785/2.013, allocations: 52 kB / 0.753 GB, free: 58.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.03131/2.044, allocations: 11.84 MB / 0.7645 GB, free: 46.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/2.045, allocations: 87.94 kB / 0.7646 GB, free: 46.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/2.045, allocations: 184 kB / 0.7648 GB, free: 46.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0042/2.049, allocations: 1.055 MB / 0.7658 GB, free: 45.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/2.061, allocations: 1.992 MB / 0.7678 GB, free: 43.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/2.077, allocations: 9.808 MB / 0.7774 GB, free: 32.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009744/2.087, allocations: 491.2 kB / 0.7778 GB, free: 32.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/2.089, allocations: 0.5156 MB / 0.7783 GB, free: 31.86 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (1050): * Single equations (assignments): 1044 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008701/2.098, allocations: 3.309 MB / 0.7816 GB, free: 28.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/2.099, allocations: 0.59 MB / 0.7821 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/2.113, allocations: 4.883 MB / 0.7869 GB, free: 23.04 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/2.113, allocations: 28 kB / 0.7869 GB, free: 23.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/2.113, allocations: 8 kB / 0.7869 GB, free: 23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/2.113, allocations: 13.92 kB / 0.787 GB, free: 22.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03219/2.145, allocations: 12.28 MB / 0.799 GB, free: 10.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/2.146, allocations: 0 / 0.799 GB, free: 10.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004284/2.15, allocations: 467.3 kB / 0.7994 GB, free: 10.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/2.153, allocations: 0.7477 MB / 0.8001 GB, free: 9.484 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/2.154, allocations: 47.98 kB / 0.8002 GB, free: 9.438 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/2.168, allocations: 8.841 MB / 0.8088 GB, free: 212 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.168, allocations: 1.125 kB / 0.8088 GB, free: 212 kB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3656/2.533, allocations: 8.528 MB / 0.8171 GB, free: 136.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00426/2.538, allocations: 1.052 MB / 0.8182 GB, free: 136.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/2.54, allocations: 40.84 kB / 0.8182 GB, free: 136.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00563/2.545, allocations: 171.3 kB / 0.8184 GB, free: 136.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/2.547, allocations: 160.3 kB / 0.8185 GB, free: 136.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/2.547, allocations: 68 kB / 0.8186 GB, free: 136.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01314/2.56, allocations: 4.757 MB / 0.8232 GB, free: 134.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.524e-06/2.56, allocations: 0 / 0.8232 GB, free: 134.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01143/2.572, allocations: 1.61 MB / 0.8248 GB, free: 134.7 MB / 490.8 MB 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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02283/2.594, allocations: 9.371 MB / 0.834 GB, free: 130.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02016/2.615, allocations: 7.705 MB / 0.8415 GB, free: 128 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.615, allocations: 2 kB / 0.8415 GB, free: 128 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007011/2.622, allocations: 2.656 MB / 0.8441 GB, free: 126.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007211/2.629, allocations: 0.7657 MB / 0.8448 GB, free: 126.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.515/3.144, allocations: 191.3 MB / 1.032 GB, free: 162 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/3.157, allocations: 5.208 MB / 1.037 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01471/3.171, allocations: 2.812 MB / 1.039 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008233/3.18, allocations: 3.341 MB / 1.043 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/3.18, allocations: 0 / 1.043 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2792/3.459, allocations: 128.2 MB / 1.168 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/3.459, allocations: 197.8 kB / 1.168 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/11.58, allocations: 0 / 1.168 GB, free: 40.56 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat