Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.001012/0.001012, allocations: 176.1 kB / 8.005 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.492/1.492, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009331/0.0009329, allocations: 90.14 kB / 261.8 MB, free: 1.68 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.1834/0.1834, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.037e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09149, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.4476, allocations: 106 MB / 0.5696 GB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4479, allocations: 81.98 kB / 0.5696 GB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1944/0.6424, allocations: 75.22 MB / 0.6431 GB, free: 2.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6424, allocations: 0 / 0.6431 GB, free: 2.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.6426, allocations: 71.98 kB / 0.6432 GB, free: 2.32 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.0104/0.653, allocations: 3.593 MB / 0.6467 GB, free: 14.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.6531, allocations: 8.031 kB / 0.6467 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.6708, allocations: 4.335 MB / 0.6509 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.6828, allocations: 4.464 MB / 0.6553 GB, free: 5.785 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.683, allocations: 116 kB / 0.6554 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.6844, allocations: 215.8 kB / 0.6556 GB, free: 5.461 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00872/0.6931, allocations: 5.144 MB / 0.6606 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.7084, allocations: 8.226 MB / 0.6686 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.7086, allocations: 59.45 kB / 0.6687 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004768/0.709, allocations: 32 kB / 0.6687 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/0.7102, allocations: 0.8882 MB / 0.6696 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.296/1.006, allocations: 43.42 MB / 0.712 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/1.01, allocations: 2.637 MB / 0.7146 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/1.011, allocations: 1.476 MB / 0.716 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/1.012, allocations: 0.8705 MB / 0.7169 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/1.012, allocations: 53.31 kB / 0.7169 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=160): time 5.881e-06/1.013, allocations: 0 / 0.7169 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=196): time 0.03812/1.051, allocations: 15.53 MB / 0.7321 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/1.051, allocations: 203.3 kB / 0.7323 GB, free: 99.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/1.058, allocations: 2.906 MB / 0.7351 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000546/1.058, allocations: 25.7 kB / 0.7351 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.061, allocations: 2.871 MB / 0.7379 GB, free: 97.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.062, allocations: 0.7284 MB / 0.7387 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/1.063, allocations: 0 / 0.7387 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003646/1.063, allocations: 0.5645 MB / 0.7392 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/1.066, allocations: 1.905 MB / 0.7411 GB, free: 96.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.07, allocations: 5.564 MB / 0.7465 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004267/1.074, allocations: 3.235 MB / 0.7497 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.074, allocations: 36.72 kB / 0.7497 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01673/1.091, allocations: 7.88 MB / 0.7574 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/1.091, allocations: 62.55 kB / 0.7574 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.091, allocations: 131.9 kB / 0.7576 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/1.096, allocations: 1.479 MB / 0.759 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/1.1, allocations: 1.338 MB / 0.7603 GB, free: 89.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.11, allocations: 7.744 MB / 0.7679 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.115, allocations: 205.4 kB / 0.7681 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/1.115, allocations: 369.2 kB / 0.7684 GB, free: 86.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (729): * Single equations (assignments): 725 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007311/1.116, allocations: 433.2 kB / 0.7688 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007379/1.124, allocations: 3.831 MB / 0.7726 GB, free: 84.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/1.124, allocations: 313 kB / 0.7729 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/1.132, allocations: 3.521 MB / 0.7763 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.203e-05/1.132, allocations: 28.23 kB / 0.7764 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.132, allocations: 9.344 kB / 0.7764 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.132, allocations: 8.625 kB / 0.7764 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.146, allocations: 7.516 MB / 0.7837 GB, free: 80.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.146, allocations: 7.859 kB / 0.7837 GB, free: 80.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.147, allocations: 255.8 kB / 0.784 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00419/1.152, allocations: 1.218 MB / 0.7851 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/1.152, allocations: 11.66 kB / 0.7852 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008832/1.161, allocations: 6.886 MB / 0.7919 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.161, allocations: 11.53 kB / 0.7919 GB, free: 73.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009685/1.17, allocations: 6.05 MB / 0.7978 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.172, allocations: 0.5909 MB / 0.7984 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/1.172, allocations: 0 / 0.7984 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.173, allocations: 66.88 kB / 0.7984 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/1.174, allocations: 118.3 kB / 0.7986 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.174, allocations: 59.11 kB / 0.7986 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002431/1.176, allocations: 1.925 MB / 0.8005 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/1.176, allocations: 0 / 0.8005 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004251/1.181, allocations: 0.832 MB / 0.8013 GB, free: 65.44 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 134 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009246/1.19, allocations: 7.042 MB / 0.8082 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006181/1.196, allocations: 4.712 MB / 0.8128 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.196, allocations: 2.375 kB / 0.8128 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.198, allocations: 1.573 MB / 0.8143 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.2, allocations: 299.4 kB / 0.8146 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.214, allocations: 7.897 MB / 0.8223 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.216, allocations: 3.049 MB / 0.8253 GB, free: 44.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004381/1.221, allocations: 1.912 MB / 0.8272 GB, free: 42.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/1.223, allocations: 1.646 MB / 0.8288 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.223, allocations: 0 / 0.8288 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.333, allocations: 69.8 MB / 0.8969 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.333, allocations: 151.8 kB / 0.8971 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/5.501, allocations: 4 kB / 0.8971 GB, free: 5.035 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat