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.002406/0.002406, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009272/0.0009271, allocations: 92.09 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.114e-05/6.169e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6126/0.7649, allocations: 109.5 MB / 0.6087 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.7651, allocations: 75.95 kB / 0.6088 GB, free: 11.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.206/0.9711, allocations: 74.23 MB / 0.6813 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.05e-06/0.9712, allocations: 0 / 0.6813 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.9714, allocations: 75.92 kB / 0.6813 GB, free: 0.8906 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.0124/0.9838, allocations: 3.389 MB / 0.6846 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.9839, allocations: 12.03 kB / 0.6846 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002446/0.9863, allocations: 0.6432 MB / 0.6853 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.9967, allocations: 2.093 MB / 0.6873 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.009, allocations: 3.944 MB / 0.6912 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/1.009, allocations: 262.9 kB / 0.6914 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/1.011, allocations: 351.8 kB / 0.6918 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/1.032, allocations: 8.926 MB / 0.7005 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/1.032, allocations: 59.47 kB / 0.7005 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007962/1.033, allocations: 179.9 kB / 0.7007 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/1.034, allocations: 0.88 MB / 0.7016 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/1.052, allocations: 7.165 MB / 0.7086 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4248/1.477, allocations: 42.94 MB / 0.7505 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008764/1.486, allocations: 3.286 MB / 0.7537 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/1.489, allocations: 1.445 MB / 0.7551 GB, free: 98.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008609/1.497, allocations: 4.425 MB / 0.7594 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.497, allocations: 49.36 kB / 0.7595 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 6.602e-06/1.497, allocations: 2.156 kB / 0.7595 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.02328/1.521, allocations: 9.59 MB / 0.7688 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/1.521, allocations: 175 kB / 0.769 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/1.526, allocations: 3.291 MB / 0.7722 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003393/1.526, allocations: 45.3 kB / 0.7723 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.528, allocations: 2.757 MB / 0.775 GB, free: 91.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/1.529, allocations: 0.5162 MB / 0.7755 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/1.529, allocations: 106.5 kB / 0.7756 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002571/1.529, allocations: 0.5279 MB / 0.7761 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.532, allocations: 1.644 MB / 0.7777 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.535, allocations: 5.061 MB / 0.7826 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.539, allocations: 2.871 MB / 0.7854 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.921e-05/1.539, allocations: 39.16 kB / 0.7855 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01091/1.55, allocations: 6.611 MB / 0.7919 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/1.55, allocations: 54.97 kB / 0.792 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.55, allocations: 127.4 kB / 0.7921 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/1.551, allocations: 334.2 kB / 0.7924 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/1.555, allocations: 1.285 MB / 0.7937 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.557, allocations: 2.297 MB / 0.7959 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/1.561, allocations: 287.4 kB / 0.7962 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/1.562, allocations: 329.5 kB / 0.7965 GB, free: 80.12 MB / 0.5105 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 () * 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.0008322/1.563, allocations: 0.5235 MB / 0.797 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/1.564, allocations: 313.2 kB / 0.7973 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/1.568, allocations: 2.347 MB / 0.7996 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/1.568, allocations: 15.75 kB / 0.7996 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.568, allocations: 3.938 kB / 0.7996 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.568, allocations: 7.594 kB / 0.7996 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.581, allocations: 5.951 MB / 0.8054 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.581, allocations: 1.688 kB / 0.8055 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/1.582, allocations: 169.7 kB / 0.8056 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.584, allocations: 0.7119 MB / 0.8063 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.584, allocations: 22.59 kB / 0.8063 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/1.589, allocations: 4.437 MB / 0.8107 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.589, allocations: 9.594 kB / 0.8107 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.596, allocations: 4.419 MB / 0.815 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.597, allocations: 367.8 kB / 0.8153 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.598, allocations: 26.77 kB / 0.8154 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.599, allocations: 70.03 kB / 0.8154 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.599, allocations: 68.17 kB / 0.8155 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/1.599, allocations: 38.36 kB / 0.8155 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004114/1.603, allocations: 2.282 MB / 0.8178 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.603, allocations: 4.062 kB / 0.8178 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005647/1.609, allocations: 0.8246 MB / 0.8186 GB, free: 70.83 MB / 0.5105 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 () * 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.007462/1.616, allocations: 5.342 MB / 0.8238 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006772/1.623, allocations: 3.96 MB / 0.8277 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.623, allocations: 0 / 0.8277 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/1.625, allocations: 1.092 MB / 0.8287 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.628, allocations: 371.8 kB / 0.8291 GB, free: 61.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/1.65, allocations: 7.036 MB / 0.8359 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.655, allocations: 2.86 MB / 0.8387 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004874/1.66, allocations: 1.658 MB / 0.8404 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003034/1.663, allocations: 1.531 MB / 0.8419 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/1.663, allocations: 0 / 0.8419 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.787, allocations: 65.27 MB / 0.9056 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.788, allocations: 185.9 kB / 0.9058 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/6.324, allocations: 0 / 0.9058 GB, free: 6.012 MB / 0.5261 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