Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.0008253/0.0008253, allocations: 88.19 kB / 15.7 MB, free: 460 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.00098/0.00098, allocations: 175.4 kB / 16.58 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.368/1.368, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3424/0.3424, allocations: 43.55 MB / 314.6 MB, free: 8.812 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.0004705/0.0004705, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2921/0.4081, allocations: 84.85 MB / 0.5154 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04541/0.4536, allocations: 17.19 MB / 0.5322 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02733/0.481, allocations: 395.7 kB / 0.5325 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.498, allocations: 4.465 MB / 0.5369 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0434/0.5415, allocations: 12.93 MB / 0.5495 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006522/0.548, allocations: 0.9089 MB / 0.5504 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0479/0.596, allocations: 35.99 MB / 0.5856 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.6065, allocations: 7.1 MB / 0.5925 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.6106, allocations: 1.942 MB / 0.5944 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005139/0.6158, allocations: 3.135 MB / 0.5974 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.6171, allocations: 240 kB / 0.5977 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.6206, allocations: 1.12 MB / 0.5988 GB, free: 328 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004315/0.6249, allocations: 2.762 MB / 0.6015 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.6278, allocations: 1.329 MB / 0.6028 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.6404, allocations: 9.025 MB / 0.6116 GB, free: 3.164 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.6404, allocations: 4 kB / 0.6116 GB, free: 3.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6404, allocations: 0 / 0.6116 GB, free: 3.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005158/0.641, allocations: 0 / 0.6116 GB, free: 3.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01629/0.6573, allocations: 6.523 MB / 0.618 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6573, allocations: 16.03 kB / 0.618 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003157/0.6605, allocations: 1.125 MB / 0.6191 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03337/0.6939, allocations: 6.399 MB / 0.6253 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2576/0.9516, allocations: 4.982 MB / 0.6302 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.9521, allocations: 386.6 kB / 0.6305 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.9538, allocations: 0.5017 MB / 0.631 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.9804, allocations: 16.27 MB / 0.6469 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.9806, allocations: 65.38 kB / 0.647 GB, free: 138.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006041/0.9812, allocations: 240.5 kB / 0.6472 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004491/0.9857, allocations: 3.165 MB / 0.6503 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/1.017, allocations: 13.83 MB / 0.6638 GB, free: 133.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07083/1.088, allocations: 60.26 MB / 0.7227 GB, free: 83.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.104, allocations: 7.906 MB / 0.7304 GB, free: 75.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/1.108, allocations: 4.08 MB / 0.7344 GB, free: 71.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/1.108, allocations: 54.31 kB / 0.7344 GB, free: 71.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.108, allocations: 68.5 kB / 0.7345 GB, free: 71.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.27e-06/1.108, allocations: 0 / 0.7345 GB, free: 71.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.0716/1.18, allocations: 33.9 MB / 0.7676 GB, free: 37.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.18, allocations: 210.1 kB / 0.7678 GB, free: 36.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/1.187, allocations: 6.363 MB / 0.774 GB, free: 30.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006393/1.187, allocations: 69.7 kB / 0.7741 GB, free: 30.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/1.189, allocations: 4.588 MB / 0.7786 GB, free: 25.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/1.191, allocations: 1.237 MB / 0.7798 GB, free: 24.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/1.191, allocations: 168 kB / 0.7799 GB, free: 24.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003203/1.192, allocations: 0.6657 MB / 0.7806 GB, free: 23.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004608/1.196, allocations: 3.85 MB / 0.7843 GB, free: 19.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006639/1.203, allocations: 8.691 MB / 0.7928 GB, free: 8.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006743/1.21, allocations: 5.655 MB / 0.7983 GB, free: 3.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/1.21, allocations: 48.66 kB / 0.7984 GB, free: 3.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.0245/1.234, allocations: 13.91 MB / 0.812 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/1.235, allocations: 83.95 kB / 0.8121 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003698/1.235, allocations: 168.9 kB / 0.8122 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/1.24, allocations: 1.793 MB / 0.814 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007519/1.247, allocations: 2.039 MB / 0.816 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2595/1.507, allocations: 12.03 MB / 0.8277 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006849/1.513, allocations: 0.5248 MB / 0.8282 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/1.514, allocations: 0.4952 MB / 0.8287 GB, free: 133.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1046): * Single equations (assignments): 1041 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00466/1.519, allocations: 3.159 MB / 0.8318 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/1.52, allocations: 0.5573 MB / 0.8323 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.531, allocations: 7.708 MB / 0.8399 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/1.531, allocations: 32.62 kB / 0.8399 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.531, allocations: 13.91 kB / 0.8399 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.531, allocations: 16.36 kB / 0.8399 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.557, allocations: 16.67 MB / 0.8562 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.557, allocations: 3.469 kB / 0.8562 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.559, allocations: 0.6032 MB / 0.8568 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.563, allocations: 1.523 MB / 0.8583 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/1.563, allocations: 65.83 kB / 0.8583 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/1.578, allocations: 11.27 MB / 0.8693 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.578, allocations: 4.938 kB / 0.8694 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.596, allocations: 12.57 MB / 0.8816 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003374/1.599, allocations: 1.224 MB / 0.8828 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.601, allocations: 66.61 kB / 0.8829 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.603, allocations: 262.9 kB / 0.8831 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/1.604, allocations: 199.5 kB / 0.8833 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.604, allocations: 93.11 kB / 0.8834 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005949/1.61, allocations: 4.045 MB / 0.8874 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.61, allocations: 0 / 0.8874 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008469/1.619, allocations: 1.685 MB / 0.889 GB, free: 109.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.01595/1.635, allocations: 13.26 MB / 0.902 GB, free: 97.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.647, allocations: 9.442 MB / 0.9112 GB, free: 87.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.647, allocations: 5.75 kB / 0.9112 GB, free: 87.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005571/1.653, allocations: 3.945 MB / 0.915 GB, free: 83.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005485/1.658, allocations: 0.7267 MB / 0.9158 GB, free: 83.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09854/1.757, allocations: 64.48 MB / 0.9787 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006171/1.763, allocations: 4.862 MB / 0.9835 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00718/1.77, allocations: 2.928 MB / 0.9863 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004645/1.775, allocations: 3.131 MB / 0.9894 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.775, allocations: 4 kB / 0.9894 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4213/2.196, allocations: 130.3 MB / 1.117 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/2.196, allocations: 211.2 kB / 1.117 GB, free: 108 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.797/6.993, allocations: 4.062 kB / 1.117 GB, free: 108 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat