Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.002008/0.002009, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009604/0.0009603, allocations: 89.52 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4299/0.4299, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.769e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5005/0.6475, allocations: 102.3 MB / 0.5728 GB, free: 3.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.6478, allocations: 78.08 kB / 0.5729 GB, free: 3.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.8768, allocations: 86.57 MB / 0.6574 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8769, allocations: 0 / 0.6574 GB, free: 5.586 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001685/0.8771, allocations: 68 kB / 0.6575 GB, free: 5.52 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01386/0.8909, allocations: 3.684 MB / 0.6611 GB, free: 1.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.891, allocations: 8.031 kB / 0.6611 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004053/0.8951, allocations: 0.7796 MB / 0.6618 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.9112, allocations: 3.508 MB / 0.6653 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.9254, allocations: 4.171 MB / 0.6693 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.9258, allocations: 297 kB / 0.6696 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/0.9286, allocations: 391.7 kB / 0.67 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.9537, allocations: 10.23 MB / 0.68 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.9539, allocations: 27.66 kB / 0.68 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009561/0.9549, allocations: 179.9 kB / 0.6802 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.9567, allocations: 1.207 MB / 0.6814 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.9779, allocations: 9.878 MB / 0.691 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3835/1.361, allocations: 35.58 MB / 0.7257 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008669/1.37, allocations: 4.916 MB / 0.7305 GB, free: 88.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/1.373, allocations: 2.277 MB / 0.7328 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/1.375, allocations: 1.881 MB / 0.7346 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.375, allocations: 51.92 kB / 0.7347 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 7.083e-06/1.375, allocations: 0 / 0.7347 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.02709/1.402, allocations: 11.26 MB / 0.7457 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/1.402, allocations: 75.58 kB / 0.7457 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/1.406, allocations: 2.369 MB / 0.748 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/1.406, allocations: 59.89 kB / 0.7481 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/1.408, allocations: 2.705 MB / 0.7507 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009267/1.409, allocations: 0.8581 MB / 0.7516 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.409, allocations: 99.16 kB / 0.7517 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002395/1.409, allocations: 0.5333 MB / 0.7522 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/1.412, allocations: 2.143 MB / 0.7543 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/1.417, allocations: 5.045 MB / 0.7592 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006147/1.424, allocations: 3.323 MB / 0.7625 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.424, allocations: 29.38 kB / 0.7625 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01791/1.442, allocations: 7.802 MB / 0.7701 GB, free: 73.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.442, allocations: 50.38 kB / 0.7701 GB, free: 73.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/1.442, allocations: 104 kB / 0.7702 GB, free: 73.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.444, allocations: 0.8 MB / 0.771 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/1.45, allocations: 1.195 MB / 0.7722 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/1.456, allocations: 4.141 MB / 0.7762 GB, free: 71.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.461, allocations: 290.2 kB / 0.7765 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.462, allocations: 307.3 kB / 0.7768 GB, free: 71.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (639): * Single equations (assignments): 632 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001075/1.463, allocations: 492.6 kB / 0.7773 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/1.464, allocations: 268.4 kB / 0.7775 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/1.472, allocations: 4.675 MB / 0.7821 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.919e-05/1.472, allocations: 44.55 kB / 0.7821 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.472, allocations: 7.281 kB / 0.7822 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.472, allocations: 10.84 kB / 0.7822 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/1.49, allocations: 10.59 MB / 0.7925 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.49, allocations: 3.562 kB / 0.7925 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.492, allocations: 377.1 kB / 0.7929 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/1.494, allocations: 0.6505 MB / 0.7935 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.494, allocations: 45.72 kB / 0.7935 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/1.498, allocations: 3.591 MB / 0.7971 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.498, allocations: 10.16 kB / 0.7971 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.509, allocations: 7.609 MB / 0.8045 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.511, allocations: 0.6621 MB / 0.8051 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/1.512, allocations: 35.12 kB / 0.8052 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.513, allocations: 135.7 kB / 0.8053 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/1.513, allocations: 138.3 kB / 0.8054 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.513, allocations: 63.2 kB / 0.8055 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002332/1.516, allocations: 1.611 MB / 0.8071 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.516, allocations: 0 / 0.8071 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004728/1.52, allocations: 0.9486 MB / 0.808 GB, free: 59.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009511/1.53, allocations: 10.05 MB / 0.8178 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008165/1.538, allocations: 5.274 MB / 0.823 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.538, allocations: 8.062 kB / 0.823 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.541, allocations: 1.989 MB / 0.8249 GB, free: 44.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.543, allocations: 319.8 kB / 0.8252 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.564, allocations: 9.337 MB / 0.8343 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/1.567, allocations: 3.321 MB / 0.8376 GB, free: 33.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004037/1.571, allocations: 1.969 MB / 0.8395 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/1.573, allocations: 1.787 MB / 0.8412 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/1.573, allocations: 0 / 0.8412 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3854/1.958, allocations: 65.31 MB / 0.905 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/1.959, allocations: 166.1 kB / 0.9052 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.031/5.99, allocations: 0 / 0.9052 GB, free: 105.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat