Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001481/0.001481, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 82.58 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2883/0.2883, allocations: 43.48 MB / 353.5 MB, free: 2.297 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.301e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4011, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.6145, allocations: 106.9 MB / 0.5704 GB, free: 8.285 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.6149, allocations: 75.95 kB / 0.5705 GB, free: 8.211 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6642/1.279, allocations: 71.9 MB / 0.6407 GB, free: 110.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.795e-06/1.279, allocations: 0.5312 kB / 0.6407 GB, free: 110.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003773/1.28, allocations: 66.72 kB / 0.6407 GB, free: 110.1 MB / 475.1 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.01397/1.294, allocations: 3.395 MB / 0.644 GB, free: 109.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.294, allocations: 9.344 kB / 0.6441 GB, free: 109.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/1.311, allocations: 2.09 MB / 0.6461 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.328, allocations: 4.09 MB / 0.6501 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/1.328, allocations: 112.5 kB / 0.6502 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/1.33, allocations: 203.2 kB / 0.6504 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01464/1.345, allocations: 5.118 MB / 0.6554 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/1.366, allocations: 8.052 MB / 0.6633 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/1.367, allocations: 60.25 kB / 0.6633 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/1.368, allocations: 32.16 kB / 0.6633 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/1.37, allocations: 0.888 MB / 0.6642 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/1.426, allocations: 41.29 MB / 0.7045 GB, free: 75.98 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/1.431, allocations: 2.514 MB / 0.707 GB, free: 74.54 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/1.433, allocations: 1.393 MB / 0.7083 GB, free: 73.95 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/1.434, allocations: 0.6519 MB / 0.709 GB, free: 73.35 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/1.434, allocations: 55.5 kB / 0.709 GB, free: 73.3 MB / 475.1 MB Notification: Performance of pre-optimization done (n=129): time 5.37e-06/1.434, allocations: 0 / 0.709 GB, free: 73.3 MB / 475.1 MB Notification: Performance of matching and sorting (n=138): time 0.03721/1.471, allocations: 12.27 MB / 0.721 GB, free: 67.79 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.472, allocations: 202.6 kB / 0.7212 GB, free: 67.56 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006335/1.478, allocations: 2.808 MB / 0.7239 GB, free: 66.45 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00036/1.478, allocations: 28.83 kB / 0.724 GB, free: 66.42 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002358/1.481, allocations: 2.787 MB / 0.7267 GB, free: 64.18 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/1.482, allocations: 0.5358 MB / 0.7272 GB, free: 63.79 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/1.482, allocations: 0 / 0.7272 GB, free: 63.79 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004607/1.483, allocations: 0.5504 MB / 0.7278 GB, free: 63.38 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/1.487, allocations: 1.608 MB / 0.7293 GB, free: 62.82 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006278/1.493, allocations: 5.146 MB / 0.7344 GB, free: 57.3 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006089/1.499, allocations: 2.851 MB / 0.7371 GB, free: 56.23 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.499, allocations: 36.59 kB / 0.7372 GB, free: 56.23 MB / 475.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01597/1.515, allocations: 5.994 MB / 0.743 GB, free: 51.9 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/1.516, allocations: 60 kB / 0.7431 GB, free: 51.84 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.516, allocations: 124 kB / 0.7432 GB, free: 51.72 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009808/1.517, allocations: 341.4 kB / 0.7435 GB, free: 51.42 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/1.525, allocations: 1.339 MB / 0.7448 GB, free: 50.27 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/1.528, allocations: 2.214 MB / 0.747 GB, free: 48.11 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.534, allocations: 193.5 kB / 0.7472 GB, free: 47.95 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.536, allocations: 352.8 kB / 0.7475 GB, free: 47.61 MB / 475.1 MB 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.001514/1.537, allocations: 425.5 kB / 0.7479 GB, free: 47.2 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008024/1.545, allocations: 2.676 MB / 0.7505 GB, free: 45.01 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/1.546, allocations: 284.3 kB / 0.7508 GB, free: 44.73 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007547/1.554, allocations: 2.308 MB / 0.7531 GB, free: 42.94 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/1.554, allocations: 16 kB / 0.7531 GB, free: 42.92 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.554, allocations: 4 kB / 0.7531 GB, free: 42.92 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.554, allocations: 11.44 kB / 0.7531 GB, free: 42.91 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.572, allocations: 5.715 MB / 0.7587 GB, free: 38.35 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/1.573, allocations: 4 kB / 0.7587 GB, free: 38.34 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.574, allocations: 186.9 kB / 0.7589 GB, free: 38.19 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/1.578, allocations: 0.7125 MB / 0.7596 GB, free: 37.73 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/1.579, allocations: 7.188 kB / 0.7596 GB, free: 37.72 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008161/1.587, allocations: 4.285 MB / 0.7637 GB, free: 33.87 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.587, allocations: 4.062 kB / 0.7637 GB, free: 33.87 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.598, allocations: 4.473 MB / 0.7681 GB, free: 29.98 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.6, allocations: 0.5092 MB / 0.7686 GB, free: 29.48 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009064/1.601, allocations: 4 kB / 0.7686 GB, free: 29.48 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.603, allocations: 61.17 kB / 0.7687 GB, free: 29.45 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004546/1.604, allocations: 72.83 kB / 0.7687 GB, free: 29.4 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.604, allocations: 44.44 kB / 0.7688 GB, free: 29.36 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004533/1.609, allocations: 1.865 MB / 0.7706 GB, free: 27.74 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.609, allocations: 4.062 kB / 0.7706 GB, free: 27.73 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006527/1.615, allocations: 0.707 MB / 0.7713 GB, free: 27.03 MB / 475.1 MB 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.01244/1.628, allocations: 5.44 MB / 0.7766 GB, free: 22.2 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.008369/1.636, allocations: 3.829 MB / 0.7804 GB, free: 18.5 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.636, allocations: 0 / 0.7804 GB, free: 18.5 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.639, allocations: 1.094 MB / 0.7814 GB, free: 17.4 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/1.642, allocations: 291.7 kB / 0.7817 GB, free: 17.11 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.666, allocations: 7.329 MB / 0.7889 GB, free: 9.73 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005384/1.671, allocations: 2.875 MB / 0.7917 GB, free: 6.848 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003905/1.675, allocations: 1.573 MB / 0.7932 GB, free: 5.273 MB / 475.1 MB Notification: Performance of SimCode: time 1.383e-06/1.675, allocations: 0 / 0.7932 GB, free: 5.273 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.639/6.314, allocations: 81.12 MB / 0.8724 GB, free: 110.9 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat