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.0008431/0.0008431, allocations: 95.77 kB / 15.7 MB, free: 464 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.000931/0.000931, allocations: 174.3 kB / 16.58 MB, free: 6.848 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.42/1.42, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3426/0.3426, allocations: 43.54 MB / 314.6 MB, free: 8.766 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.0005289/0.0005289, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.26/0.382, allocations: 42.62 MB / 485.5 MB, free: 24.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.4032, allocations: 9.215 MB / 494.7 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007924/0.4111, allocations: 190.4 kB / 494.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005936/0.4171, allocations: 2.085 MB / 497 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.4343, allocations: 6.207 MB / 0.4914 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.4371, allocations: 0.5188 MB / 0.4919 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008029/0.4452, allocations: 4.866 MB / 0.4967 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006126/0.4514, allocations: 3.59 MB / 0.5002 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.4542, allocations: 1.351 MB / 0.5015 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00387/0.4581, allocations: 2.145 MB / 0.5036 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007472/0.4589, allocations: 174.5 kB / 0.5037 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.4612, allocations: 0.7904 MB / 0.5045 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.4633, allocations: 1.828 MB / 0.5063 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.4644, allocations: 0.951 MB / 0.5072 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.4702, allocations: 6.15 MB / 0.5132 GB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4702, allocations: 9.156 kB / 0.5132 GB, free: 5.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4702, allocations: 0 / 0.5132 GB, free: 5.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.4704, allocations: 0 / 0.5132 GB, free: 5.117 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.008424/0.4788, allocations: 4.365 MB / 0.5175 GB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4789, allocations: 7.281 kB / 0.5175 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001221/0.4801, allocations: 0.8922 MB / 0.5184 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.4902, allocations: 3.291 MB / 0.5216 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.4966, allocations: 2.812 MB / 0.5243 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.4968, allocations: 266.5 kB / 0.5246 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006789/0.4975, allocations: 339.7 kB / 0.5249 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.5172, allocations: 12.64 MB / 0.5373 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.5174, allocations: 35.64 kB / 0.5373 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004221/0.5178, allocations: 159.8 kB / 0.5375 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004935/0.5227, allocations: 3.032 MB / 0.5404 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.5467, allocations: 11.29 MB / 0.5514 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0634/0.6101, allocations: 42.32 MB / 0.5928 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009837/0.62, allocations: 4.691 MB / 0.5974 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.6238, allocations: 2.429 MB / 0.5997 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.6252, allocations: 1.323 MB / 0.601 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.6253, allocations: 60.5 kB / 0.6011 GB, free: 11.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 7.113e-06/0.6253, allocations: 0 / 0.6011 GB, free: 11.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04746/0.6728, allocations: 19.51 MB / 0.6201 GB, free: 8.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.6729, allocations: 103.1 kB / 0.6202 GB, free: 8.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00604/0.6789, allocations: 3.259 MB / 0.6234 GB, free: 4.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.6794, allocations: 61.7 kB / 0.6235 GB, free: 4.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/0.682, allocations: 3.273 MB / 0.6267 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.6834, allocations: 0.9868 MB / 0.6276 GB, free: 392 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/0.684, allocations: 116 kB / 0.6277 GB, free: 276 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2454/0.9294, allocations: 0.5649 MB / 0.6283 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/0.934, allocations: 2.467 MB / 0.6307 GB, free: 140.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/0.9396, allocations: 5.857 MB / 0.6364 GB, free: 136.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/0.9445, allocations: 3.779 MB / 0.6401 GB, free: 136.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.303e-05/0.9446, allocations: 33.38 kB / 0.6401 GB, free: 136.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01303/0.9576, allocations: 9.096 MB / 0.649 GB, free: 133.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-05/0.9578, allocations: 55.34 kB / 0.6491 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.9579, allocations: 116.8 kB / 0.6492 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.9605, allocations: 1.076 MB / 0.6502 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/0.965, allocations: 1.387 MB / 0.6516 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/0.9717, allocations: 5.145 MB / 0.6566 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.9764, allocations: 326.1 kB / 0.6569 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009307/0.9773, allocations: 354 kB / 0.6573 GB, free: 130.1 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.005302/0.9826, allocations: 2.487 MB / 0.6597 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/0.9833, allocations: 326.4 kB / 0.66 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009104/0.9924, allocations: 5.36 MB / 0.6652 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/0.9925, allocations: 47.38 kB / 0.6653 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.9925, allocations: 4.516 kB / 0.6653 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/0.9926, allocations: 11.28 kB / 0.6653 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.015, allocations: 13.34 MB / 0.6783 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.015, allocations: 11.53 kB / 0.6783 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.016, allocations: 423.4 kB / 0.6787 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/1.019, allocations: 0.8996 MB / 0.6796 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.019, allocations: 54.67 kB / 0.6797 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/1.025, allocations: 4.495 MB / 0.6841 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.025, allocations: 15.94 kB / 0.6841 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009802/1.035, allocations: 8.008 MB / 0.6919 GB, free: 112.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.036, allocations: 0.7391 MB / 0.6926 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/1.037, allocations: 47.75 kB / 0.6927 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.038, allocations: 159.2 kB / 0.6928 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.038, allocations: 170.2 kB / 0.693 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.038, allocations: 76 kB / 0.693 GB, free: 111.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00265/1.041, allocations: 1.987 MB / 0.695 GB, free: 110.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.041, allocations: 0 / 0.695 GB, free: 110.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004742/1.046, allocations: 1.108 MB / 0.6961 GB, free: 109.1 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.009547/1.055, allocations: 8.686 MB / 0.7045 GB, free: 101.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00804/1.063, allocations: 6.029 MB / 0.7104 GB, free: 95.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.063, allocations: 384 / 0.7104 GB, free: 95.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.066, allocations: 2.256 MB / 0.7126 GB, free: 93.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.069, allocations: 427.1 kB / 0.713 GB, free: 93.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05842/1.127, allocations: 36.39 MB / 0.7486 GB, free: 53.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006047/1.133, allocations: 3.827 MB / 0.7523 GB, free: 49.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005591/1.139, allocations: 2.189 MB / 0.7545 GB, free: 47.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004984/1.144, allocations: 2.206 MB / 0.7566 GB, free: 45.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/1.144, allocations: 4 kB / 0.7566 GB, free: 45.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3148/1.458, allocations: 77.97 MB / 0.8328 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/1.459, allocations: 188.5 kB / 0.8329 GB, free: 141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/5.324, allocations: 8.266 kB / 0.833 GB, free: 141 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