Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.001233/0.001233, allocations: 97.22 kB / 15.69 MB, free: 480 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.001592/0.001592, allocations: 174.5 kB / 16.57 MB, free: 6.391 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.594/1.594, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4299/0.4299, allocations: 43.55 MB / 314.5 MB, free: 8.77 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.0006421/0.0006425, allocations: 12 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1382, allocations: 58.84 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3609/0.4991, allocations: 76.79 MB / 0.5074 GB, free: 328 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05583/0.555, allocations: 17.4 MB / 0.5244 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02568/0.5807, allocations: 381.8 kB / 0.5248 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.5989, allocations: 3.857 MB / 0.5286 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05264/0.6516, allocations: 10.9 MB / 0.5392 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009661/0.6613, allocations: 0.9174 MB / 0.5401 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04724/0.7086, allocations: 27.26 MB / 0.5667 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.7231, allocations: 7.213 MB / 0.5738 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.728, allocations: 1.588 MB / 0.5753 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/0.7325, allocations: 2.134 MB / 0.5774 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.7347, allocations: 236 kB / 0.5776 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.739, allocations: 1.092 MB / 0.5787 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.7437, allocations: 2.494 MB / 0.5811 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004418/0.7482, allocations: 1.31 MB / 0.5824 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.763, allocations: 8.931 MB / 0.5911 GB, free: 7.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.763, allocations: 0 / 0.5911 GB, free: 7.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.763, allocations: 0 / 0.5911 GB, free: 7.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004927/0.7635, allocations: 0 / 0.5911 GB, free: 7.898 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01983/0.7834, allocations: 6.628 MB / 0.5976 GB, free: 1.191 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.7834, allocations: 8.031 kB / 0.5976 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005174/0.7886, allocations: 1.124 MB / 0.5987 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04715/0.8358, allocations: 8.247 MB / 0.6068 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.8499, allocations: 4.555 MB / 0.6112 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005179/0.8505, allocations: 385.8 kB / 0.6116 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/0.8535, allocations: 0.4957 MB / 0.6121 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04184/0.8953, allocations: 16.46 MB / 0.6282 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005063/0.8959, allocations: 55.52 kB / 0.6282 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002699/0.8986, allocations: 243.8 kB / 0.6284 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3686/1.267, allocations: 3.154 MB / 0.6315 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03664/1.304, allocations: 14.2 MB / 0.6454 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.41, allocations: 58.92 MB / 0.7029 GB, free: 99.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.429, allocations: 7.232 MB / 0.71 GB, free: 93.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/1.456, allocations: 15.16 MB / 0.7248 GB, free: 78.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/1.456, allocations: 68.5 kB / 0.7249 GB, free: 78.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 8.486e-06/1.456, allocations: 0 / 0.7249 GB, free: 78.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.08968/1.546, allocations: 32.34 MB / 0.7564 GB, free: 45.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.546, allocations: 218.2 kB / 0.7566 GB, free: 45.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007674/1.554, allocations: 5.579 MB / 0.7621 GB, free: 39.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001357/1.555, allocations: 77.7 kB / 0.7622 GB, free: 39.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.558, allocations: 4.387 MB / 0.7665 GB, free: 35.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002238/1.561, allocations: 1.27 MB / 0.7677 GB, free: 34.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/1.561, allocations: 166.8 kB / 0.7678 GB, free: 34.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003998/1.561, allocations: 0.6492 MB / 0.7685 GB, free: 33.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005356/1.567, allocations: 3.682 MB / 0.7721 GB, free: 29.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007193/1.574, allocations: 8.112 MB / 0.78 GB, free: 19.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/1.582, allocations: 5.353 MB / 0.7852 GB, free: 14.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.582, allocations: 44 kB / 0.7853 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02519/1.607, allocations: 13.21 MB / 0.7982 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.607, allocations: 72 kB / 0.7982 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.608, allocations: 156 kB / 0.7984 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/1.612, allocations: 1.778 MB / 0.8001 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009023/1.621, allocations: 1.938 MB / 0.802 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.641, allocations: 12.34 MB / 0.8141 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008347/1.649, allocations: 487.4 kB / 0.8145 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002706/1.652, allocations: 484 kB / 0.815 GB, free: 15.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (994): * Single equations (assignments): 989 * 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.01059/1.662, allocations: 3.086 MB / 0.818 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/1.665, allocations: 0.4975 MB / 0.8185 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/1.685, allocations: 7.646 MB / 0.826 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.491e-05/1.685, allocations: 47.92 kB / 0.826 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/1.685, allocations: 8 kB / 0.826 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001104/1.685, allocations: 19.94 kB / 0.826 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3844/2.069, allocations: 16.41 MB / 0.8421 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/2.069, allocations: 3.438 kB / 0.8421 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00356/2.073, allocations: 0.6158 MB / 0.8427 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/2.077, allocations: 1.521 MB / 0.8442 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008141/2.078, allocations: 62.95 kB / 0.8442 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/2.092, allocations: 11.53 MB / 0.8555 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.092, allocations: 0 / 0.8555 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/2.116, allocations: 12.29 MB / 0.8675 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/2.12, allocations: 1.135 MB / 0.8686 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/2.122, allocations: 55.5 kB / 0.8686 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/2.125, allocations: 253.2 kB / 0.8689 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007526/2.126, allocations: 201.8 kB / 0.8691 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/2.126, allocations: 87.48 kB / 0.8692 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007624/2.134, allocations: 3.554 MB / 0.8726 GB, free: 143 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.72e-07/2.134, allocations: 0 / 0.8726 GB, free: 143 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01134/2.145, allocations: 1.643 MB / 0.8742 GB, free: 142.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.02518/2.17, allocations: 13.17 MB / 0.8871 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01608/2.187, allocations: 9.068 MB / 0.8959 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/2.187, allocations: 4 kB / 0.8959 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007658/2.194, allocations: 3.869 MB / 0.8997 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/2.2, allocations: 0.6237 MB / 0.9003 GB, free: 128 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4416/2.641, allocations: 165.5 MB / 1.062 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009679/2.651, allocations: 4.934 MB / 1.067 GB, free: 127 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01025/2.661, allocations: 2.687 MB / 1.069 GB, free: 127 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006875/2.668, allocations: 3.087 MB / 1.072 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/2.668, allocations: 0 / 1.072 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1913/2.86, allocations: 125 MB / 1.194 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.86, allocations: 213.9 kB / 1.195 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.602/8.462, allocations: 0 / 1.195 GB, free: 16.11 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat