Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",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.002148/0.002148, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 92.89 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3346/0.3346, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.93e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5562, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/0.8236, allocations: 104.6 MB / 0.5682 GB, free: 10.59 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.824, allocations: 71.97 kB / 0.5683 GB, free: 10.52 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7345/1.558, allocations: 89.88 MB / 0.656 GB, free: 109.4 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.559, allocations: 2.531 kB / 0.656 GB, free: 109.4 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002552/1.559, allocations: 84.03 kB / 0.6561 GB, free: 109.4 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01644/1.575, allocations: 3.971 MB / 0.66 GB, free: 107.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.575, allocations: 8.344 kB / 0.66 GB, free: 107.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02727/1.603, allocations: 3.555 MB / 0.6635 GB, free: 107.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/1.621, allocations: 4.443 MB / 0.6678 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/1.621, allocations: 135.6 kB / 0.6679 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/1.624, allocations: 249.4 kB / 0.6682 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01841/1.643, allocations: 7.686 MB / 0.6757 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03851/1.681, allocations: 10.04 MB / 0.6855 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/1.682, allocations: 27.91 kB / 0.6855 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003077/1.685, allocations: 18.39 kB / 0.6855 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003997/1.689, allocations: 1.255 MB / 0.6868 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09882/1.788, allocations: 35.26 MB / 0.7212 GB, free: 81.85 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/1.795, allocations: 4.364 MB / 0.7255 GB, free: 77.62 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004398/1.799, allocations: 2.343 MB / 0.7278 GB, free: 75.49 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/1.801, allocations: 1.314 MB / 0.729 GB, free: 74.06 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/1.801, allocations: 60.56 kB / 0.7291 GB, free: 73.99 MB / 475.1 MB Notification: Performance of pre-optimization done (n=244): time 7.535e-06/1.801, allocations: 0 / 0.7291 GB, free: 73.99 MB / 475.1 MB Notification: Performance of matching and sorting (n=256): time 0.05049/1.851, allocations: 15.66 MB / 0.7444 GB, free: 60.3 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.851, allocations: 73.41 kB / 0.7445 GB, free: 60.22 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/1.856, allocations: 2.333 MB / 0.7467 GB, free: 58.17 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005636/1.857, allocations: 25.7 kB / 0.7468 GB, free: 58.14 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.859, allocations: 2.952 MB / 0.7496 GB, free: 55.36 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.86, allocations: 0.9016 MB / 0.7505 GB, free: 54.45 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006175/1.861, allocations: 0 / 0.7505 GB, free: 54.45 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004555/1.861, allocations: 0.5666 MB / 0.7511 GB, free: 53.87 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.866, allocations: 2.233 MB / 0.7533 GB, free: 51.63 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007248/1.874, allocations: 5.426 MB / 0.7586 GB, free: 44.6 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007341/1.881, allocations: 3.502 MB / 0.762 GB, free: 41.09 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.881, allocations: 36 kB / 0.762 GB, free: 41.06 MB / 475.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0214/1.903, allocations: 7.792 MB / 0.7696 GB, free: 33.26 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/1.903, allocations: 59.95 kB / 0.7697 GB, free: 33.2 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.903, allocations: 112 kB / 0.7698 GB, free: 33.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004892/1.908, allocations: 0.9607 MB / 0.7707 GB, free: 32.12 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008099/1.916, allocations: 1.326 MB / 0.772 GB, free: 30.8 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/1.925, allocations: 4.547 MB / 0.7765 GB, free: 26.14 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/1.931, allocations: 199.8 kB / 0.7766 GB, free: 25.94 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.933, allocations: 340 kB / 0.777 GB, free: 25.61 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 704 * 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,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.934, allocations: 403.1 kB / 0.7774 GB, free: 25.21 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01205/1.946, allocations: 4.414 MB / 0.7817 GB, free: 20.74 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/1.947, allocations: 280.3 kB / 0.7819 GB, free: 20.46 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.961, allocations: 4.93 MB / 0.7867 GB, free: 15.47 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001535/1.961, allocations: 43.98 kB / 0.7868 GB, free: 15.43 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.961, allocations: 3.938 kB / 0.7868 GB, free: 15.43 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/1.961, allocations: 15.92 kB / 0.7868 GB, free: 15.41 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/1.991, allocations: 10.82 MB / 0.7974 GB, free: 4.441 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/1.991, allocations: 8 kB / 0.7974 GB, free: 4.434 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003477/1.994, allocations: 411.5 kB / 0.7978 GB, free: 4.031 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004273/1.999, allocations: 0.7652 MB / 0.7985 GB, free: 3.262 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005409/1.999, allocations: 19.98 kB / 0.7985 GB, free: 3.242 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/2.008, allocations: 3.864 MB / 0.8023 GB, free: 15.27 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-05/2.008, allocations: 19.88 kB / 0.8023 GB, free: 15.25 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/2.029, allocations: 8.319 MB / 0.8105 GB, free: 6.484 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003704/2.033, allocations: 0.6692 MB / 0.8111 GB, free: 5.793 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.034, allocations: 27.92 kB / 0.8111 GB, free: 5.766 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/2.037, allocations: 107.8 kB / 0.8112 GB, free: 5.66 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009793/2.038, allocations: 152.9 kB / 0.8114 GB, free: 5.508 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003528/2.038, allocations: 75.98 kB / 0.8115 GB, free: 5.434 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004566/2.043, allocations: 1.525 MB / 0.8129 GB, free: 3.898 MB / 491.1 MB Notification: Performance of sort global known variables: time 7.21e-07/2.043, allocations: 0 / 0.8129 GB, free: 3.898 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.00756/2.05, allocations: 0.8788 MB / 0.8138 GB, free: 3.02 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02438/2.075, allocations: 11.62 MB / 0.8252 GB, free: 7.023 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01399/2.089, allocations: 5.424 MB / 0.8305 GB, free: 1.613 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.089, allocations: 0 / 0.8305 GB, free: 1.613 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.3657/2.455, allocations: 2.07 MB / 0.8325 GB, free: 129.9 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/2.457, allocations: 238.8 kB / 0.8327 GB, free: 129.9 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/2.494, allocations: 10.41 MB / 0.8429 GB, free: 127.9 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009962/2.504, allocations: 3.533 MB / 0.8463 GB, free: 127.1 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005722/2.51, allocations: 1.96 MB / 0.8482 GB, free: 127.1 MB / 0.4952 GB Notification: Performance of SimCode: time 2.194e-06/2.51, allocations: 0 / 0.8482 GB, free: 127.1 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.46/6.971, allocations: 98.03 MB / 0.944 GB, free: 72.92 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat