Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001007/0.001007, allocations: 170.4 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.381/1.381, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009837/0.0009837, allocations: 92.03 kB / 281.6 MB, free: 5.262 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.2072/0.2072, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.957e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5713, allocations: 108.8 MB / 0.601 GB, free: 3.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.5717, allocations: 75.97 kB / 0.6011 GB, free: 3.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1995/0.7713, allocations: 72.83 MB / 0.6722 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7714, allocations: 0 / 0.6722 GB, free: 10.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002039/0.7716, allocations: 64 kB / 0.6723 GB, free: 10.15 MB / 490.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.01424/0.7858, allocations: 3.4 MB / 0.6756 GB, free: 6.688 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.7859, allocations: 11.98 kB / 0.6756 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.8025, allocations: 2.089 MB / 0.6776 GB, free: 4.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.8201, allocations: 3.929 MB / 0.6815 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.8204, allocations: 115.9 kB / 0.6816 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.8224, allocations: 203.9 kB / 0.6818 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01604/0.8384, allocations: 5.12 MB / 0.6868 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.8613, allocations: 8.043 MB / 0.6946 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.8616, allocations: 63.45 kB / 0.6947 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009996/0.8626, allocations: 28 kB / 0.6947 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001813/0.8644, allocations: 0.8879 MB / 0.6956 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3392/1.204, allocations: 41.25 MB / 0.7359 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/1.207, allocations: 2.519 MB / 0.7383 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.208, allocations: 1.396 MB / 0.7397 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/1.209, allocations: 0.6432 MB / 0.7403 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.209, allocations: 50.38 kB / 0.7404 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=129): time 4.419e-06/1.209, allocations: 1.375 kB / 0.7404 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.02219/1.231, allocations: 12.21 MB / 0.7523 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/1.231, allocations: 201.6 kB / 0.7525 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/1.236, allocations: 2.802 MB / 0.7552 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003248/1.236, allocations: 25.7 kB / 0.7553 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.238, allocations: 2.793 MB / 0.758 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007312/1.238, allocations: 0.5352 MB / 0.7585 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/1.239, allocations: 0 / 0.7585 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000268/1.239, allocations: 0.5435 MB / 0.759 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/1.241, allocations: 1.614 MB / 0.7606 GB, free: 102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/1.244, allocations: 5.138 MB / 0.7656 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/1.248, allocations: 2.869 MB / 0.7684 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/1.249, allocations: 41.97 kB / 0.7685 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01109/1.26, allocations: 6.06 MB / 0.7744 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/1.26, allocations: 59.66 kB / 0.7744 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.26, allocations: 128.6 kB / 0.7746 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/1.261, allocations: 345.9 kB / 0.7749 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.265, allocations: 1.339 MB / 0.7762 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/1.267, allocations: 2.211 MB / 0.7784 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.271, allocations: 193.6 kB / 0.7785 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009554/1.272, allocations: 346.2 kB / 0.7789 GB, free: 92.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * 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.0009096/1.273, allocations: 427.3 kB / 0.7793 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004548/1.278, allocations: 2.672 MB / 0.7819 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/1.278, allocations: 286.2 kB / 0.7822 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/1.283, allocations: 2.296 MB / 0.7844 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/1.283, allocations: 14 kB / 0.7844 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.283, allocations: 9.625 kB / 0.7844 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.283, allocations: 7.781 kB / 0.7844 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.294, allocations: 5.734 MB / 0.79 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.295, allocations: 7.438 kB / 0.79 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/1.295, allocations: 188 kB / 0.7902 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.297, allocations: 0.7078 MB / 0.7909 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/1.298, allocations: 7.688 kB / 0.7909 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/1.303, allocations: 4.29 MB / 0.7951 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.303, allocations: 3.625 kB / 0.7951 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/1.309, allocations: 4.467 MB / 0.7995 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009153/1.31, allocations: 343.9 kB / 0.7998 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/1.311, allocations: 4.062 kB / 0.7998 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.312, allocations: 59.62 kB / 0.7999 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.312, allocations: 68.55 kB / 0.7999 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.312, allocations: 40.94 kB / 0.8 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003028/1.315, allocations: 1.851 MB / 0.8018 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/1.315, allocations: 1.375 kB / 0.8018 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005151/1.32, allocations: 0.7135 MB / 0.8025 GB, free: 82.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.006637/1.327, allocations: 5.437 MB / 0.8078 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005739/1.333, allocations: 3.811 MB / 0.8115 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.333, allocations: 0 / 0.8115 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.334, allocations: 1.104 MB / 0.8126 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.336, allocations: 305.3 kB / 0.8129 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.353, allocations: 6.926 MB / 0.8196 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/1.355, allocations: 2.855 MB / 0.8224 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004234/1.36, allocations: 1.742 MB / 0.8241 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.362, allocations: 1.52 MB / 0.8256 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.362, allocations: 0 / 0.8256 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09268/1.454, allocations: 60.22 MB / 0.8844 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.455, allocations: 143.1 kB / 0.8846 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.271/5.726, allocations: 0 / 0.8846 GB, free: 9.312 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat