Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001374/0.001374, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.539/1.539, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001005/0.001005, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1978/0.1978, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.514, allocations: 107.6 MB / 0.584 GB, free: 8.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5143, allocations: 78.14 kB / 0.584 GB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.707, allocations: 73.27 MB / 0.6556 GB, free: 6.945 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.7071, allocations: 0 / 0.6556 GB, free: 6.945 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002947/0.7074, allocations: 68 kB / 0.6557 GB, free: 6.879 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01315/0.7205, allocations: 3.622 MB / 0.6592 GB, free: 3.191 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.7206, allocations: 19.95 kB / 0.6592 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003239/0.7239, allocations: 0.6432 MB / 0.6599 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009773/0.7337, allocations: 2.089 MB / 0.6619 GB, free: 432 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.7455, allocations: 4.104 MB / 0.6659 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.7459, allocations: 262.9 kB / 0.6662 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/0.7477, allocations: 359.8 kB / 0.6665 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.766, allocations: 8.996 MB / 0.6753 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.7662, allocations: 59.47 kB / 0.6753 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007401/0.7669, allocations: 171.9 kB / 0.6755 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.7683, allocations: 0.8916 MB / 0.6764 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.7826, allocations: 7.273 MB / 0.6835 GB, free: 9.246 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3603/1.143, allocations: 42.95 MB / 0.7254 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008665/1.152, allocations: 3.306 MB / 0.7286 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009862/1.162, allocations: 4.436 MB / 0.733 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.162, allocations: 46.25 kB / 0.733 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 4.349e-06/1.162, allocations: 0.9688 kB / 0.733 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.03135/1.193, allocations: 11.67 MB / 0.7444 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/1.193, allocations: 173 kB / 0.7446 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006777/1.2, allocations: 3.338 MB / 0.7478 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003666/1.2, allocations: 43.94 kB / 0.7479 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.202, allocations: 2.76 MB / 0.7506 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/1.203, allocations: 0.5229 MB / 0.7511 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/1.203, allocations: 107.6 kB / 0.7512 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002546/1.204, allocations: 0.5332 MB / 0.7517 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.206, allocations: 1.675 MB / 0.7534 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/1.209, allocations: 5.092 MB / 0.7583 GB, free: 85.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/1.214, allocations: 2.869 MB / 0.7611 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-05/1.214, allocations: 36.41 kB / 0.7612 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01024/1.224, allocations: 6.673 MB / 0.7677 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/1.224, allocations: 60.44 kB / 0.7677 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/1.224, allocations: 119.2 kB / 0.7678 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/1.225, allocations: 339 kB / 0.7682 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.228, allocations: 1.278 MB / 0.7694 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.23, allocations: 2.338 MB / 0.7717 GB, free: 82.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/1.234, allocations: 292 kB / 0.772 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/1.235, allocations: 338 kB / 0.7723 GB, free: 81.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002967/1.238, allocations: 1.792 MB / 0.7741 GB, free: 81.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/1.239, allocations: 308.5 kB / 0.7743 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/1.243, allocations: 2.367 MB / 0.7767 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/1.243, allocations: 14.5 kB / 0.7767 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.243, allocations: 3.281 kB / 0.7767 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.243, allocations: 2.766 kB / 0.7767 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.254, allocations: 5.948 MB / 0.7825 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.254, allocations: 3.812 kB / 0.7825 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/1.255, allocations: 170.1 kB / 0.7827 GB, free: 78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/1.257, allocations: 0.7121 MB / 0.7833 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.257, allocations: 27.3 kB / 0.7834 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/1.262, allocations: 4.564 MB / 0.7878 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.262, allocations: 0 / 0.7878 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/1.269, allocations: 4.458 MB / 0.7922 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.271, allocations: 0.5359 MB / 0.7927 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/1.271, allocations: 27.61 kB / 0.7927 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.272, allocations: 68.38 kB / 0.7928 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.273, allocations: 71.88 kB / 0.7929 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/1.273, allocations: 39.56 kB / 0.7929 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004084/1.277, allocations: 2.324 MB / 0.7952 GB, free: 72.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.277, allocations: 3.844 kB / 0.7952 GB, free: 72.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005808/1.283, allocations: 0.8297 MB / 0.796 GB, free: 72.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007252/1.29, allocations: 5.367 MB / 0.8012 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006647/1.297, allocations: 3.998 MB / 0.8051 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.297, allocations: 0 / 0.8051 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.298, allocations: 1.1 MB / 0.8062 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.3, allocations: 368.6 kB / 0.8066 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/1.352, allocations: 99.62 MB / 0.9038 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004951/1.357, allocations: 2.869 MB / 0.9067 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004981/1.362, allocations: 1.657 MB / 0.9083 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/1.366, allocations: 1.54 MB / 0.9098 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/1.366, allocations: 0 / 0.9098 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3834/1.749, allocations: 64.52 MB / 0.9728 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.749, allocations: 206.5 kB / 0.973 GB, free: 161 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/6.229, allocations: 0 / 0.973 GB, free: 161 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat