Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",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.001351/0.001351, allocations: 96.28 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.001917/0.001917, allocations: 179.6 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.552/1.552, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3275/0.3275, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0005361/0.0005361, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2822/0.4139, allocations: 40.3 MB / 483.1 MB, free: 26.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.4348, allocations: 9.608 MB / 492.8 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008713/0.4436, allocations: 190.1 kB / 492.9 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006964/0.4506, allocations: 2.022 MB / 495 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01816/0.4688, allocations: 5.916 MB / 0.4891 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.4714, allocations: 0.508 MB / 0.4896 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.4764, allocations: 2.445 MB / 0.492 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006439/0.4829, allocations: 3.581 MB / 0.4955 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.4859, allocations: 1.17 MB / 0.4967 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.4891, allocations: 1.547 MB / 0.4982 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009518/0.4901, allocations: 174 kB / 0.4983 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.4922, allocations: 0.7675 MB / 0.4991 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.4946, allocations: 1.704 MB / 0.5008 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.4961, allocations: 0.9553 MB / 0.5017 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008119/0.5042, allocations: 6.142 MB / 0.5077 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5042, allocations: 0 / 0.5077 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5043, allocations: 1.094 kB / 0.5077 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003539/0.5046, allocations: 0 / 0.5077 GB, free: 8.645 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01316/0.5178, allocations: 4.426 MB / 0.512 GB, free: 5.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5179, allocations: 12.19 kB / 0.512 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003246/0.5211, allocations: 0.8913 MB / 0.5129 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.5347, allocations: 3.846 MB / 0.5166 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.5421, allocations: 2.612 MB / 0.5192 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.5424, allocations: 257.9 kB / 0.5194 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.5441, allocations: 342.8 kB / 0.5198 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.5681, allocations: 12.73 MB / 0.5322 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.5684, allocations: 35.66 kB / 0.5322 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005804/0.569, allocations: 163.7 kB / 0.5324 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.574, allocations: 3.028 MB / 0.5353 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.5984, allocations: 11.4 MB / 0.5465 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07283/0.6713, allocations: 42.43 MB / 0.5879 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009744/0.681, allocations: 4.699 MB / 0.5925 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.6824, allocations: 1.315 MB / 0.5938 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.6825, allocations: 52.56 kB / 0.5938 GB, free: 3.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 5.521e-06/0.6825, allocations: 0 / 0.5938 GB, free: 3.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.04821/0.7307, allocations: 20.05 MB / 0.6134 GB, free: 14.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.7308, allocations: 107 kB / 0.6135 GB, free: 14.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.7362, allocations: 3.369 MB / 0.6168 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006524/0.7369, allocations: 57.7 kB / 0.6169 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002703/0.7397, allocations: 3.284 MB / 0.6201 GB, free: 7.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/0.7413, allocations: 0.9751 MB / 0.621 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.7416, allocations: 120 kB / 0.6211 GB, free: 6.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004506/0.7421, allocations: 0.5664 MB / 0.6217 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/0.7463, allocations: 2.464 MB / 0.6241 GB, free: 3.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.345/1.091, allocations: 5.836 MB / 0.6298 GB, free: 136.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/1.099, allocations: 3.781 MB / 0.6335 GB, free: 135.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/1.099, allocations: 34.09 kB / 0.6335 GB, free: 135.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02582/1.125, allocations: 9.098 MB / 0.6424 GB, free: 134.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000233/1.125, allocations: 56.47 kB / 0.6425 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000319/1.126, allocations: 117.2 kB / 0.6426 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/1.129, allocations: 1.076 MB / 0.6436 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005713/1.135, allocations: 1.388 MB / 0.645 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/1.143, allocations: 5.286 MB / 0.6501 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.149, allocations: 328.6 kB / 0.6504 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/1.151, allocations: 354.6 kB / 0.6508 GB, free: 131.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 740 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008218/1.16, allocations: 2.479 MB / 0.6532 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.161, allocations: 324.9 kB / 0.6535 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.172, allocations: 5.362 MB / 0.6587 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/1.172, allocations: 54.47 kB / 0.6588 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.172, allocations: 3.688 kB / 0.6588 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.576e-05/1.172, allocations: 11.02 kB / 0.6588 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03093/1.203, allocations: 13.33 MB / 0.6718 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/1.203, allocations: 15.62 kB / 0.6719 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.205, allocations: 421.1 kB / 0.6723 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.208, allocations: 0.8974 MB / 0.6731 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/1.208, allocations: 53.72 kB / 0.6732 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/1.214, allocations: 4.642 MB / 0.6777 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.214, allocations: 14.94 kB / 0.6777 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.226, allocations: 9.115 MB / 0.6866 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.229, allocations: 0.736 MB / 0.6873 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009946/1.23, allocations: 59.23 kB / 0.6874 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.232, allocations: 149.3 kB / 0.6875 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/1.233, allocations: 171 kB / 0.6877 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.233, allocations: 77.48 kB / 0.6878 GB, free: 114.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003616/1.237, allocations: 2.079 MB / 0.6898 GB, free: 113 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.237, allocations: 0 / 0.6898 GB, free: 113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007186/1.244, allocations: 1.13 MB / 0.6909 GB, free: 111.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01295/1.257, allocations: 12.65 MB / 0.7033 GB, free: 99.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009919/1.267, allocations: 6.032 MB / 0.7092 GB, free: 94.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.818e-05/1.267, allocations: 0 / 0.7092 GB, free: 94.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003104/1.27, allocations: 2.252 MB / 0.7114 GB, free: 92.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/1.272, allocations: 388.3 kB / 0.7117 GB, free: 91.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3445/1.617, allocations: 117.7 MB / 0.8267 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005975/1.623, allocations: 3.928 MB / 0.8305 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005037/1.628, allocations: 2.19 MB / 0.8326 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003663/1.632, allocations: 2.214 MB / 0.8348 GB, free: 151 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/1.632, allocations: 0 / 0.8348 GB, free: 151 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/1.779, allocations: 78.65 MB / 0.9116 GB, free: 92.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.779, allocations: 207.5 kB / 0.9118 GB, free: 92.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.392/6.171, allocations: 3.938 kB / 0.9118 GB, free: 92.43 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat