Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 104.6 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.766e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5824, allocations: 104.1 MB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5827, allocations: 78.14 kB / 0.5965 GB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2472/0.8299, allocations: 94.79 MB / 0.6891 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.825e-06/0.83, allocations: 0 / 0.6891 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002024/0.8302, allocations: 88 kB / 0.6892 GB, free: 8.457 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0152/0.8454, allocations: 4.232 MB / 0.6933 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.8455, allocations: 15.92 kB / 0.6933 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.8624, allocations: 3.617 MB / 0.6968 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.8745, allocations: 4.322 MB / 0.7011 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.875, allocations: 144 kB / 0.7012 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/0.8783, allocations: 259.9 kB / 0.7015 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01504/0.8934, allocations: 8.152 MB / 0.7094 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3422/1.236, allocations: 10.71 MB / 0.7199 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002752/1.236, allocations: 35.39 kB / 0.7199 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00162/1.238, allocations: 15.59 kB / 0.7199 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00243/1.24, allocations: 1.333 MB / 0.7212 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06792/1.308, allocations: 38.97 MB / 0.7593 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/1.314, allocations: 5.094 MB / 0.7643 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/1.317, allocations: 2.928 MB / 0.7671 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.319, allocations: 1.882 MB / 0.769 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.319, allocations: 55.72 kB / 0.769 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=264): time 7.303e-06/1.319, allocations: 3.094 kB / 0.769 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285): time 0.03/1.349, allocations: 16.62 MB / 0.7852 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/1.349, allocations: 76.12 kB / 0.7853 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/1.353, allocations: 2.449 MB / 0.7877 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/1.353, allocations: 25.7 kB / 0.7877 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.355, allocations: 3.064 MB / 0.7907 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.356, allocations: 1.004 MB / 0.7917 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/1.356, allocations: 3.875 kB / 0.7917 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.356, allocations: 0.5769 MB / 0.7923 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/1.36, allocations: 2.722 MB / 0.7949 GB, free: 92.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/1.365, allocations: 6.081 MB / 0.8009 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/1.37, allocations: 4.074 MB / 0.8049 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.485e-05/1.37, allocations: 33.41 kB / 0.8049 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01616/1.386, allocations: 9.398 MB / 0.8141 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.386, allocations: 60 kB / 0.8141 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.386, allocations: 119.9 kB / 0.8142 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/1.389, allocations: 1.394 MB / 0.8156 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.395, allocations: 1.46 MB / 0.817 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00806/1.403, allocations: 6.806 MB / 0.8237 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/1.409, allocations: 293.7 kB / 0.8239 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.41, allocations: 369 kB / 0.8243 GB, free: 73.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 751 * 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%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001051/1.411, allocations: 411.9 kB / 0.8247 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008493/1.419, allocations: 5.765 MB / 0.8303 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/1.42, allocations: 296.2 kB / 0.8306 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/1.43, allocations: 6.399 MB / 0.8369 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/1.43, allocations: 44 kB / 0.8369 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.43, allocations: 12 kB / 0.8369 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.43, allocations: 14.2 kB / 0.8369 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.451, allocations: 12.79 MB / 0.8494 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.451, allocations: 8 kB / 0.8494 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.453, allocations: 460.5 kB / 0.8499 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.456, allocations: 1.206 MB / 0.851 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/1.456, allocations: 19.33 kB / 0.8511 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006802/1.463, allocations: 6.157 MB / 0.8571 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.463, allocations: 11.94 kB / 0.8571 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.476, allocations: 10.26 MB / 0.8671 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.477, allocations: 349.1 kB / 0.8674 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005014/1.478, allocations: 15.98 kB / 0.8674 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.479, allocations: 167.7 kB / 0.8676 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/1.48, allocations: 161.6 kB / 0.8678 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.48, allocations: 80.92 kB / 0.8678 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002206/1.482, allocations: 1.598 MB / 0.8694 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.482, allocations: 0 / 0.8694 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005634/1.488, allocations: 0.996 MB / 0.8704 GB, free: 30.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/1.501, allocations: 12.76 MB / 0.8828 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009051/1.51, allocations: 6.639 MB / 0.8893 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.51, allocations: 4 kB / 0.8893 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/1.513, allocations: 2.677 MB / 0.8919 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.515, allocations: 241.1 kB / 0.8922 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.539, allocations: 10.93 MB / 0.9028 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004497/1.543, allocations: 3.679 MB / 0.9064 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006128/1.55, allocations: 2.312 MB / 0.9087 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/1.554, allocations: 2.077 MB / 0.9107 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.554, allocations: 0 / 0.9107 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4578/2.012, allocations: 75.48 MB / 0.9844 GB, free: 121 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/2.012, allocations: 129.2 kB / 0.9845 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.098/6.11, allocations: 0 / 0.9845 GB, free: 120.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat