Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01583/0.01583, allocations: 175.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.191/2.191, allocations: 194.5 MB / 210.3 MB, free: 7.809 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002185/0.002185, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2593/0.2593, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004916, allocations: 14.64 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 54.87 MB / 461.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5804/0.6853, allocations: 100.7 MB / 0.5486 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.6857, allocations: 78.97 kB / 0.5487 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5002/1.186, allocations: 110.7 MB / 0.6569 GB, free: 2.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.517e-06/1.186, allocations: 0 / 0.6569 GB, free: 2.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004546/1.187, allocations: 111.9 kB / 0.657 GB, free: 2.121 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02773/1.214, allocations: 5.802 MB / 0.6626 GB, free: 12.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.214, allocations: 8.031 kB / 0.6626 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004949/1.219, allocations: 0.9515 MB / 0.6636 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05544/1.275, allocations: 6.919 MB / 0.6703 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02826/1.303, allocations: 6.828 MB / 0.677 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/1.304, allocations: 406.5 kB / 0.6774 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/1.307, allocations: 0.5154 MB / 0.6779 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04439/1.352, allocations: 12.99 MB / 0.6906 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004921/1.352, allocations: 83.19 kB / 0.6907 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/1.355, allocations: 259.9 kB / 0.6909 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003288/1.358, allocations: 1.203 MB / 0.6921 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03837/1.397, allocations: 10.38 MB / 0.7022 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4654/1.862, allocations: 58.37 MB / 0.7592 GB, free: 60.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.883, allocations: 4.677 MB / 0.7638 GB, free: 59.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/1.903, allocations: 6.859 MB / 0.7705 GB, free: 58.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/1.903, allocations: 61.66 kB / 0.7705 GB, free: 58.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.911e-06/1.903, allocations: 0 / 0.7705 GB, free: 58.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.06978/1.973, allocations: 15.78 MB / 0.7859 GB, free: 54.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/1.973, allocations: 198.8 kB / 0.7861 GB, free: 54.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/1.987, allocations: 5.144 MB / 0.7912 GB, free: 53.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005864/1.987, allocations: 53.39 kB / 0.7912 GB, free: 53.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004159/1.991, allocations: 4.015 MB / 0.7951 GB, free: 51.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.993, allocations: 0.7603 MB / 0.7959 GB, free: 51.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/1.994, allocations: 141.4 kB / 0.796 GB, free: 51.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007904/1.995, allocations: 0.6039 MB / 0.7966 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006672/2.002, allocations: 2.268 MB / 0.7988 GB, free: 51.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009261/2.011, allocations: 6.669 MB / 0.8053 GB, free: 45.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/2.021, allocations: 3.813 MB / 0.8091 GB, free: 45.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/2.021, allocations: 46 kB / 0.8091 GB, free: 45.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02725/2.048, allocations: 9.094 MB / 0.818 GB, free: 43.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/2.048, allocations: 74.75 kB / 0.818 GB, free: 43.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003207/2.049, allocations: 158.4 kB / 0.8182 GB, free: 43.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/2.051, allocations: 0.5865 MB / 0.8188 GB, free: 42.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/2.062, allocations: 1.61 MB / 0.8203 GB, free: 42.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/2.072, allocations: 5.698 MB / 0.8259 GB, free: 38.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008585/2.08, allocations: 385.5 kB / 0.8263 GB, free: 38.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/2.082, allocations: 434.2 kB / 0.8267 GB, free: 38.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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],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 (868): * Single equations (assignments): 863 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008198/2.09, allocations: 2.613 MB / 0.8292 GB, free: 37.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/2.092, allocations: 481.8 kB / 0.8297 GB, free: 37.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/2.102, allocations: 3.009 MB / 0.8326 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/2.102, allocations: 21.47 kB / 0.8327 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/2.102, allocations: 3.594 kB / 0.8327 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.167e-05/2.102, allocations: 9.422 kB / 0.8327 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/2.131, allocations: 8.153 MB / 0.8406 GB, free: 32.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-05/2.131, allocations: 7.703 kB / 0.8406 GB, free: 32.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/2.134, allocations: 291.8 kB / 0.8409 GB, free: 32.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/2.136, allocations: 350.6 kB / 0.8413 GB, free: 32.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005192/2.137, allocations: 31.25 kB / 0.8413 GB, free: 32.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008953/2.146, allocations: 5.049 MB / 0.8462 GB, free: 29.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.146, allocations: 7.344 kB / 0.8462 GB, free: 29.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/2.16, allocations: 5.963 MB / 0.852 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003443/2.164, allocations: 0.7931 MB / 0.8528 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/2.166, allocations: 41.05 kB / 0.8529 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004191/2.17, allocations: 89.95 kB / 0.8529 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/2.171, allocations: 115.2 kB / 0.8531 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/2.171, allocations: 52.61 kB / 0.8531 GB, free: 25.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01113/2.182, allocations: 3.68 MB / 0.8567 GB, free: 22.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.182, allocations: 0 / 0.8567 GB, free: 22.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009489/2.192, allocations: 1.202 MB / 0.8579 GB, free: 20.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01465/2.207, allocations: 7.132 MB / 0.8648 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01363/2.22, allocations: 5.612 MB / 0.8703 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.22, allocations: 4 kB / 0.8703 GB, free: 9.414 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003917/2.224, allocations: 1.675 MB / 0.872 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/2.23, allocations: 0.5968 MB / 0.8725 GB, free: 7.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5244/2.754, allocations: 154.8 MB / 1.024 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/2.765, allocations: 4.121 MB / 1.028 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01158/2.777, allocations: 2.295 MB / 1.03 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00694/2.784, allocations: 2.514 MB / 1.032 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.943e-06/2.784, allocations: 3.312 kB / 1.032 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5985/3.382, allocations: 97.75 MB / 1.128 GB, free: 119 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/3.383, allocations: 194.3 kB / 1.128 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/10.22, allocations: 0 / 1.128 GB, free: 118.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat