Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",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.001119/0.001119, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 90.39 kB / 261.7 MB, free: 1.684 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.1948/0.1948, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.089e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 58.87 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5792, allocations: 107.5 MB / 0.5711 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5795, allocations: 75.38 kB / 0.5711 GB, free: 3.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2841/0.8637, allocations: 97.39 MB / 0.6662 GB, free: 10.53 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8638, allocations: 0 / 0.6662 GB, free: 10.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002655/0.864, allocations: 88 kB / 0.6663 GB, free: 10.45 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01816/0.8822, allocations: 5.122 MB / 0.6713 GB, free: 5.254 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.8823, allocations: 12.02 kB / 0.6713 GB, free: 5.242 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.9023, allocations: 4.611 MB / 0.6758 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/0.918, allocations: 6.08 MB / 0.6818 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.9183, allocations: 144 kB / 0.6819 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.9203, allocations: 275.9 kB / 0.6822 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01332/0.9337, allocations: 7.418 MB / 0.6894 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/0.9572, allocations: 10.87 MB / 0.7 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.9575, allocations: 67.41 kB / 0.7001 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008194/0.9583, allocations: 32 kB / 0.7001 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/0.9603, allocations: 1.269 MB / 0.7014 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3465/1.307, allocations: 54.32 MB / 0.7544 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/1.312, allocations: 4.374 MB / 0.7587 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/1.316, allocations: 2.938 MB / 0.7616 GB, free: 86.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/1.332, allocations: 12.17 MB / 0.7734 GB, free: 81.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.332, allocations: 53.38 kB / 0.7735 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 5.36e-06/1.332, allocations: 0 / 0.7735 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.05727/1.389, allocations: 28.84 MB / 0.8016 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.389, allocations: 211.6 kB / 0.8018 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/1.393, allocations: 3.326 MB / 0.8051 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004905/1.394, allocations: 25.7 kB / 0.8051 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.396, allocations: 3.5 MB / 0.8085 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007839/1.396, allocations: 0.9203 MB / 0.8094 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/1.397, allocations: 0 / 0.8094 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002889/1.397, allocations: 0.5967 MB / 0.81 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/1.4, allocations: 2.916 MB / 0.8129 GB, free: 65.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/1.405, allocations: 6.946 MB / 0.8196 GB, free: 59.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004791/1.41, allocations: 4.424 MB / 0.824 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/1.41, allocations: 43.38 kB / 0.824 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01833/1.428, allocations: 11.64 MB / 0.8354 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/1.429, allocations: 72.25 kB / 0.8354 GB, free: 46.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.564e-05/1.429, allocations: 147.9 kB / 0.8356 GB, free: 46.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00776/1.436, allocations: 3.17 MB / 0.8387 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.441, allocations: 1.607 MB / 0.8402 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.459, allocations: 13.84 MB / 0.8538 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006112/1.465, allocations: 341.5 kB / 0.8541 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.467, allocations: 429.3 kB / 0.8545 GB, free: 30.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.468, allocations: 469.8 kB / 0.8549 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01255/1.48, allocations: 7.216 MB / 0.862 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/1.481, allocations: 375.2 kB / 0.8624 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.494, allocations: 7.15 MB / 0.8693 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-05/1.494, allocations: 31.95 kB / 0.8694 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.494, allocations: 12 kB / 0.8694 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.033e-05/1.494, allocations: 11.11 kB / 0.8694 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/1.519, allocations: 13.91 MB / 0.883 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.519, allocations: 0 / 0.883 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.521, allocations: 383.4 kB / 0.8833 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007783/1.529, allocations: 2.852 MB / 0.8861 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005442/1.53, allocations: 7.953 kB / 0.8861 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/1.549, allocations: 12.35 MB / 0.8982 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.549, allocations: 3.469 kB / 0.8982 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3412/1.89, allocations: 11.09 MB / 0.909 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/1.892, allocations: 0.8719 MB / 0.9099 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/1.893, allocations: 3.25 kB / 0.9099 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.895, allocations: 168.7 kB / 0.91 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/1.896, allocations: 150.2 kB / 0.9102 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.896, allocations: 60.41 kB / 0.9102 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003458/1.899, allocations: 2.217 MB / 0.9124 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.899, allocations: 0 / 0.9124 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007992/1.907, allocations: 1.14 MB / 0.9135 GB, free: 123.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01947/1.927, allocations: 11.9 MB / 0.9251 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.939, allocations: 7.456 MB / 0.9324 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.939, allocations: 3.875 kB / 0.9324 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004268/1.943, allocations: 2.95 MB / 0.9353 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.946, allocations: 371.3 kB / 0.9357 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.969, allocations: 11.09 MB / 0.9465 GB, free: 120 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/1.973, allocations: 3.779 MB / 0.9502 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005168/1.978, allocations: 2.22 MB / 0.9523 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002776/1.981, allocations: 2.203 MB / 0.9545 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.981, allocations: 0 / 0.9545 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/2.125, allocations: 94.58 MB / 1.047 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/2.125, allocations: 132.7 kB / 1.047 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.612/6.738, allocations: 4 kB / 1.047 GB, free: 50.87 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat