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.001403/0.001402, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008363/0.0008363, allocations: 94.56 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1925/0.1925, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 4 kB / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5504, allocations: 106.9 MB / 0.5704 GB, free: 4.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5507, allocations: 84.02 kB / 0.5705 GB, free: 4.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.7327, allocations: 71.9 MB / 0.6407 GB, free: 4.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7327, allocations: 0 / 0.6407 GB, free: 4.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001737/0.7329, allocations: 72 kB / 0.6408 GB, free: 4.77 MB / 442.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.01092/0.7439, allocations: 3.393 MB / 0.6441 GB, free: 1.316 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.7439, allocations: 12.03 kB / 0.6441 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009962/0.7539, allocations: 2.093 MB / 0.6461 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.7661, allocations: 4.085 MB / 0.6501 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.7664, allocations: 115.9 kB / 0.6502 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.7683, allocations: 203.9 kB / 0.6504 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01021/0.7785, allocations: 5.112 MB / 0.6554 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.7949, allocations: 8.056 MB / 0.6633 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.7951, allocations: 59.48 kB / 0.6633 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008879/0.796, allocations: 28 kB / 0.6634 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/0.7973, allocations: 0.8879 MB / 0.6642 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.8421, allocations: 41.27 MB / 0.7045 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2706/1.113, allocations: 2.51 MB / 0.707 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/1.115, allocations: 1.402 MB / 0.7084 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/1.115, allocations: 0.644 MB / 0.709 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/1.115, allocations: 49.33 kB / 0.709 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=129): time 8.646e-06/1.115, allocations: 0 / 0.709 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138): time 0.02677/1.142, allocations: 12.28 MB / 0.721 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/1.142, allocations: 198.4 kB / 0.7212 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/1.148, allocations: 2.813 MB / 0.724 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003902/1.149, allocations: 25.7 kB / 0.724 GB, free: 130 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.151, allocations: 2.801 MB / 0.7267 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007415/1.152, allocations: 0.5367 MB / 0.7273 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/1.152, allocations: 3.062 kB / 0.7273 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.152, allocations: 0.5396 MB / 0.7278 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/1.155, allocations: 1.612 MB / 0.7294 GB, free: 128 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003686/1.158, allocations: 5.139 MB / 0.7344 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/1.162, allocations: 2.856 MB / 0.7372 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/1.162, allocations: 37.75 kB / 0.7372 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01224/1.175, allocations: 6.062 MB / 0.7431 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/1.175, allocations: 60.72 kB / 0.7432 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.175, allocations: 126.2 kB / 0.7433 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.175, allocations: 343.1 kB / 0.7436 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.18, allocations: 1.347 MB / 0.7449 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.182, allocations: 2.208 MB / 0.7471 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/1.187, allocations: 190.6 kB / 0.7473 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.188, allocations: 345.9 kB / 0.7476 GB, free: 121.2 MB / 0.4948 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.00107/1.189, allocations: 432.1 kB / 0.748 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004802/1.194, allocations: 2.675 MB / 0.7506 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009464/1.195, allocations: 289.7 kB / 0.7509 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004939/1.2, allocations: 2.299 MB / 0.7532 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/1.2, allocations: 14.31 kB / 0.7532 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.2, allocations: 8.938 kB / 0.7532 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/1.2, allocations: 7.312 kB / 0.7532 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/1.212, allocations: 5.727 MB / 0.7588 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.212, allocations: 0 / 0.7588 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/1.213, allocations: 187 kB / 0.759 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.215, allocations: 0.7114 MB / 0.7597 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/1.215, allocations: 7.656 kB / 0.7597 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/1.22, allocations: 4.287 MB / 0.7638 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.22, allocations: 8.453 kB / 0.7639 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/1.226, allocations: 4.468 MB / 0.7682 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.228, allocations: 0.5083 MB / 0.7687 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/1.228, allocations: 3.906 kB / 0.7687 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.229, allocations: 55.66 kB / 0.7688 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.23, allocations: 85.39 kB / 0.7689 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/1.23, allocations: 39.25 kB / 0.7689 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002917/1.233, allocations: 1.866 MB / 0.7707 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.233, allocations: 0 / 0.7707 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00512/1.238, allocations: 0.7125 MB / 0.7714 GB, free: 111.5 MB / 0.4948 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.006471/1.244, allocations: 5.437 MB / 0.7767 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006003/1.25, allocations: 3.819 MB / 0.7804 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.25, allocations: 0 / 0.7804 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.252, allocations: 1.111 MB / 0.7815 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.254, allocations: 300.5 kB / 0.7818 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.27, allocations: 6.935 MB / 0.7886 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/1.273, allocations: 2.862 MB / 0.7914 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004337/1.278, allocations: 1.742 MB / 0.7931 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002317/1.28, allocations: 1.522 MB / 0.7946 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/1.28, allocations: 0 / 0.7946 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08479/1.365, allocations: 60.29 MB / 0.8534 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/1.365, allocations: 148.7 kB / 0.8536 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/5.151, allocations: 3.938 kB / 0.8536 GB, free: 41.23 MB / 0.4948 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