Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002968/0.002967, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3202/0.3202, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007405/0.0007408, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1697, allocations: 58.84 MB / 490.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.4448/0.6146, allocations: 62.71 MB / 0.5401 GB, free: 9.613 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04222/0.6569, allocations: 14.46 MB / 0.5542 GB, free: 3.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01777/0.6747, allocations: 320.7 kB / 0.5545 GB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.6869, allocations: 3.148 MB / 0.5576 GB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04029/0.7272, allocations: 9.061 MB / 0.5664 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.7332, allocations: 0.7785 MB / 0.5672 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07433/0.8076, allocations: 26.88 MB / 0.5934 GB, free: 2.762 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.8206, allocations: 5.452 MB / 0.5987 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004256/0.8249, allocations: 1.37 MB / 0.6001 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004739/0.8297, allocations: 1.822 MB / 0.6019 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.8312, allocations: 188 kB / 0.602 GB, free: 9.852 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.8356, allocations: 1.065 MB / 0.6031 GB, free: 8.785 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004449/0.8401, allocations: 2.139 MB / 0.6052 GB, free: 6.641 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.8428, allocations: 1.088 MB / 0.6062 GB, free: 5.543 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.8565, allocations: 7.322 MB / 0.6134 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8566, allocations: 4 kB / 0.6134 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.8566, allocations: 0 / 0.6134 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003494/0.8569, allocations: 0 / 0.6134 GB, free: 14.2 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02153/0.8785, allocations: 5.641 MB / 0.6189 GB, free: 8.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.8786, allocations: 12.03 kB / 0.6189 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00362/0.8822, allocations: 0.8969 MB / 0.6198 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08916/0.9714, allocations: 8.071 MB / 0.6277 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.9863, allocations: 4.244 MB / 0.6318 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/0.9868, allocations: 303.6 kB / 0.6321 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/0.989, allocations: 403.6 kB / 0.6325 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/1.028, allocations: 12.57 MB / 0.6448 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/1.028, allocations: 63.47 kB / 0.6448 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001649/1.03, allocations: 191.8 kB / 0.645 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007767/1.038, allocations: 2.405 MB / 0.6473 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03716/1.075, allocations: 10.39 MB / 0.6575 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/1.177, allocations: 48.54 MB / 0.7049 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/1.198, allocations: 4.684 MB / 0.7095 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02185/1.22, allocations: 6.978 MB / 0.7163 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/1.22, allocations: 47.88 kB / 0.7163 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 5.801e-06/1.22, allocations: 0 / 0.7163 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.4552/1.676, allocations: 16.45 MB / 0.7324 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/1.676, allocations: 207.5 kB / 0.7326 GB, free: 182.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/1.693, allocations: 6.071 MB / 0.7385 GB, free: 180 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006334/1.693, allocations: 58.12 kB / 0.7386 GB, free: 180 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004007/1.697, allocations: 3.806 MB / 0.7423 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.699, allocations: 0.7605 MB / 0.743 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009054/1.7, allocations: 141.4 kB / 0.7432 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000558/1.7, allocations: 0.6105 MB / 0.7438 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006417/1.707, allocations: 2.353 MB / 0.7461 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009286/1.716, allocations: 6.751 MB / 0.7527 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/1.725, allocations: 3.899 MB / 0.7565 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.726, allocations: 47.03 kB / 0.7565 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.02436/1.75, allocations: 9.148 MB / 0.7655 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.75, allocations: 73.56 kB / 0.7655 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002544/1.75, allocations: 156.8 kB / 0.7657 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/1.753, allocations: 0.7248 MB / 0.7664 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009778/1.763, allocations: 1.653 MB / 0.768 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.774, allocations: 6.455 MB / 0.7743 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0086/1.783, allocations: 387.4 kB / 0.7747 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.784, allocations: 444 kB / 0.7751 GB, free: 149.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (866): * Single equations (assignments): 859 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006933/1.791, allocations: 2.61 MB / 0.7776 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.793, allocations: 489.7 kB / 0.7781 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/1.803, allocations: 3.237 MB / 0.7813 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/1.803, allocations: 20 kB / 0.7813 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/1.803, allocations: 4 kB / 0.7813 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-05/1.803, allocations: 11.95 kB / 0.7813 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.829, allocations: 8.584 MB / 0.7897 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/1.829, allocations: 7.953 kB / 0.7897 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.833, allocations: 359.4 kB / 0.79 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/1.835, allocations: 0.4909 MB / 0.7905 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/1.835, allocations: 36 kB / 0.7905 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009198/1.845, allocations: 5.801 MB / 0.7962 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.845, allocations: 4 kB / 0.7962 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.858, allocations: 6.27 MB / 0.8023 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.862, allocations: 0.8188 MB / 0.8031 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/1.863, allocations: 40.08 kB / 0.8032 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003901/1.867, allocations: 105.1 kB / 0.8033 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006775/1.868, allocations: 113.2 kB / 0.8034 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.868, allocations: 57.25 kB / 0.8034 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009483/1.878, allocations: 3.915 MB / 0.8073 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/1.878, allocations: 4 kB / 0.8073 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008715/1.886, allocations: 1.236 MB / 0.8085 GB, free: 114.9 MB / 0.5105 GB 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.015/1.901, allocations: 7.449 MB / 0.8157 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01346/1.915, allocations: 5.757 MB / 0.8214 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.915, allocations: 0 / 0.8214 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/1.919, allocations: 1.744 MB / 0.8231 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/1.924, allocations: 0.6041 MB / 0.8237 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4099/2.334, allocations: 133.3 MB / 0.9538 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.345, allocations: 4.138 MB / 0.9578 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006337/2.351, allocations: 2.567 MB / 0.9604 GB, free: 133 MB / 0.5105 GB Notification: Performance of SimCode: time 1.974e-06/2.351, allocations: 0 / 0.9604 GB, free: 133 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.996/7.347, allocations: 148.4 MB / 1.105 GB, free: 0.707 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat