Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",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.001325/0.001325, allocations: 95.58 kB / 15.68 MB, free: 488 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.001583/0.001583, allocations: 171.8 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, 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.4403/0.4403, allocations: 43.54 MB / 314.5 MB, free: 8.785 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.0005584/0.0005587, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1702, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3495/0.5198, allocations: 62.72 MB / 0.4937 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03663/0.5565, allocations: 14.45 MB / 0.5078 GB, free: 368 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01698/0.5735, allocations: 312 kB / 0.5081 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01387/0.5874, allocations: 3.152 MB / 0.5112 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03921/0.6266, allocations: 9.061 MB / 0.52 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.6316, allocations: 0.7763 MB / 0.5208 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04456/0.6761, allocations: 26.69 MB / 0.5469 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008025/0.6842, allocations: 5.476 MB / 0.5522 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.687, allocations: 1.363 MB / 0.5535 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/0.69, allocations: 1.826 MB / 0.5553 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009763/0.691, allocations: 184 kB / 0.5555 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.6944, allocations: 1.057 MB / 0.5565 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003781/0.6983, allocations: 2.147 MB / 0.5586 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.7001, allocations: 1.092 MB / 0.5597 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008842/0.709, allocations: 7.33 MB / 0.5669 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.709, allocations: 0 / 0.5669 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.721e-06/0.7091, allocations: 3.984 kB / 0.5669 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003541/0.7094, allocations: 0 / 0.5669 GB, free: 0.8359 MB / 430.1 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.01336/0.7228, allocations: 5.634 MB / 0.5724 GB, free: 11.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7229, allocations: 8.031 kB / 0.5724 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002512/0.7254, allocations: 0.8891 MB / 0.5732 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04283/0.7682, allocations: 8.071 MB / 0.5811 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.779, allocations: 4.253 MB / 0.5853 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.7794, allocations: 295.6 kB / 0.5855 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.781, allocations: 403.6 kB / 0.5859 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.807, allocations: 12.59 MB / 0.5982 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.8073, allocations: 51.53 kB / 0.5983 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008254/0.8081, allocations: 195.8 kB / 0.5985 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/0.8121, allocations: 2.405 MB / 0.6008 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.8355, allocations: 10.39 MB / 0.611 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3262/1.162, allocations: 48.54 MB / 0.6584 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.172, allocations: 4.675 MB / 0.6629 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/1.184, allocations: 6.977 MB / 0.6697 GB, free: 105.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.184, allocations: 54.05 kB / 0.6698 GB, free: 105.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.639e-06/1.184, allocations: 0 / 0.6698 GB, free: 105.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04274/1.227, allocations: 16.46 MB / 0.6859 GB, free: 98.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/1.227, allocations: 202.8 kB / 0.6861 GB, free: 98.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.238, allocations: 6.083 MB / 0.692 GB, free: 96.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005068/1.239, allocations: 55.38 kB / 0.692 GB, free: 96.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/1.242, allocations: 3.999 MB / 0.696 GB, free: 93.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.243, allocations: 0.7512 MB / 0.6967 GB, free: 92.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/1.244, allocations: 140.9 kB / 0.6968 GB, free: 92.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005025/1.244, allocations: 0.6046 MB / 0.6974 GB, free: 92.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.248, allocations: 2.357 MB / 0.6997 GB, free: 91.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/1.254, allocations: 6.754 MB / 0.7063 GB, free: 84.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004653/1.258, allocations: 3.897 MB / 0.7101 GB, free: 83.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.972e-05/1.258, allocations: 43.12 kB / 0.7102 GB, free: 83.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01316/1.272, allocations: 9.358 MB / 0.7193 GB, free: 79.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/1.272, allocations: 74.62 kB / 0.7194 GB, free: 79.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/1.272, allocations: 154.8 kB / 0.7195 GB, free: 79.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/1.273, allocations: 0.7371 MB / 0.7202 GB, free: 78.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/1.278, allocations: 1.639 MB / 0.7218 GB, free: 77.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/1.284, allocations: 6.46 MB / 0.7281 GB, free: 70.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/1.29, allocations: 390.7 kB / 0.7285 GB, free: 70.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.291, allocations: 440 kB / 0.7289 GB, free: 70 MB / 494.1 MB 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.004711/1.296, allocations: 2.627 MB / 0.7315 GB, free: 67.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.297, allocations: 481.7 kB / 0.732 GB, free: 66.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.302, allocations: 3.234 MB / 0.7351 GB, free: 63.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.302, allocations: 20 kB / 0.7351 GB, free: 63.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.302, allocations: 8 kB / 0.7351 GB, free: 63.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.302, allocations: 7.969 kB / 0.7352 GB, free: 63.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/1.315, allocations: 8.588 MB / 0.7435 GB, free: 54.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.315, allocations: 4 kB / 0.7435 GB, free: 54.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.317, allocations: 359.4 kB / 0.7439 GB, free: 54.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/1.318, allocations: 497.4 kB / 0.7444 GB, free: 54.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.318, allocations: 34.42 kB / 0.7444 GB, free: 54.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/1.323, allocations: 5.796 MB / 0.7501 GB, free: 48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.323, allocations: 7.938 kB / 0.7501 GB, free: 47.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/1.331, allocations: 6.273 MB / 0.7562 GB, free: 41.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/1.334, allocations: 0.8237 MB / 0.757 GB, free: 40.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.335, allocations: 32 kB / 0.757 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.337, allocations: 106.7 kB / 0.7571 GB, free: 40.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/1.337, allocations: 117 kB / 0.7572 GB, free: 40.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.337, allocations: 52 kB / 0.7573 GB, free: 40.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005211/1.342, allocations: 3.919 MB / 0.7611 GB, free: 36.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.342, allocations: 4 kB / 0.7611 GB, free: 36.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006209/1.349, allocations: 1.232 MB / 0.7623 GB, free: 35.27 MB / 494.1 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.007296/1.356, allocations: 7.446 MB / 0.7696 GB, free: 27.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007829/1.364, allocations: 5.773 MB / 0.7752 GB, free: 21.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.364, allocations: 0 / 0.7752 GB, free: 21.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.366, allocations: 1.747 MB / 0.7769 GB, free: 20.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/1.369, allocations: 0.5952 MB / 0.7775 GB, free: 19.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/1.64, allocations: 132.7 MB / 0.9071 GB, free: 74.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006931/1.647, allocations: 4.129 MB / 0.9111 GB, free: 74.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006346/1.654, allocations: 2.297 MB / 0.9133 GB, free: 74.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00367/1.657, allocations: 2.518 MB / 0.9158 GB, free: 74.02 MB / 0.5137 GB Notification: Performance of SimCode: time 9.91e-07/1.657, allocations: 0 / 0.9158 GB, free: 74.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/1.803, allocations: 98.58 MB / 1.012 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.803, allocations: 193.3 kB / 1.012 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.941/6.744, allocations: 0 / 1.012 GB, free: 6.363 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat