Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008218/0.0008218, allocations: 85.19 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1807, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.246e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 63.25 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5384, allocations: 109.4 MB / 0.6183 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5387, allocations: 75.09 kB / 0.6184 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1974/0.7361, allocations: 78.62 MB / 0.6952 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7362, allocations: 0 / 0.6952 GB, free: 10.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.7363, allocations: 72 kB / 0.6952 GB, free: 9.961 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.009483/0.7458, allocations: 3.609 MB / 0.6988 GB, free: 6.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.7459, allocations: 11.97 kB / 0.6988 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/0.7475, allocations: 0.6677 MB / 0.6994 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.7641, allocations: 4.324 MB / 0.7036 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.7745, allocations: 3.812 MB / 0.7074 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.7747, allocations: 271.1 kB / 0.7076 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008855/0.7756, allocations: 363.8 kB / 0.708 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.7912, allocations: 9.098 MB / 0.7169 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.7914, allocations: 67.41 kB / 0.7169 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005619/0.792, allocations: 179.9 kB / 0.7171 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.7932, allocations: 0.8844 MB / 0.718 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.8061, allocations: 7.218 MB / 0.725 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3402/1.146, allocations: 44.11 MB / 0.7681 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008619/1.155, allocations: 3.483 MB / 0.7715 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/1.157, allocations: 1.583 MB / 0.773 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/1.168, allocations: 7.18 MB / 0.78 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/1.168, allocations: 56.64 kB / 0.7801 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=151): time 5.881e-06/1.168, allocations: 0 / 0.7801 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.04424/1.213, allocations: 16.19 MB / 0.7959 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/1.213, allocations: 200.8 kB / 0.7961 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/1.217, allocations: 3.273 MB / 0.7993 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/1.217, allocations: 54.77 kB / 0.7993 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.218, allocations: 2.833 MB / 0.8021 GB, free: 99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/1.219, allocations: 0.718 MB / 0.8028 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/1.219, allocations: 115.1 kB / 0.8029 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.219, allocations: 0.5487 MB / 0.8035 GB, free: 98.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/1.221, allocations: 1.938 MB / 0.8054 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/1.225, allocations: 5.473 MB / 0.8107 GB, free: 93.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/1.229, allocations: 3.248 MB / 0.8139 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.052e-05/1.229, allocations: 35.59 kB / 0.8139 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.0134/1.242, allocations: 8.438 MB / 0.8221 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/1.242, allocations: 58.09 kB / 0.8222 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/1.242, allocations: 125.9 kB / 0.8223 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004671/1.247, allocations: 1.466 MB / 0.8238 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.25, allocations: 1.285 MB / 0.825 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/1.26, allocations: 8.009 MB / 0.8328 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/1.264, allocations: 305.7 kB / 0.8331 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005084/1.265, allocations: 354.3 kB / 0.8335 GB, free: 85.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 (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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007506/1.265, allocations: 0.5641 MB / 0.834 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/1.266, allocations: 334.3 kB / 0.8343 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/1.273, allocations: 3.588 MB / 0.8378 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.273, allocations: 24.05 kB / 0.8379 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.273, allocations: 12.98 kB / 0.8379 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.273, allocations: 6.984 kB / 0.8379 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/1.287, allocations: 7.87 MB / 0.8456 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.287, allocations: 6.938 kB / 0.8456 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.288, allocations: 239.8 kB / 0.8458 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004099/1.292, allocations: 1.231 MB / 0.847 GB, free: 79.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.292, allocations: 32.62 kB / 0.847 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008687/1.301, allocations: 7.283 MB / 0.8541 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.301, allocations: 0 / 0.8541 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008755/1.309, allocations: 6.013 MB / 0.86 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000681/1.31, allocations: 380.1 kB / 0.8604 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.31, allocations: 32 kB / 0.8604 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.312, allocations: 85.67 kB / 0.8605 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/1.312, allocations: 115.6 kB / 0.8606 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.312, allocations: 46.83 kB / 0.8606 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002863/1.315, allocations: 2.271 MB / 0.8629 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.315, allocations: 0 / 0.8629 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003961/1.319, allocations: 0.982 MB / 0.8638 GB, free: 64.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (130): * Single equations (assignments): 126 * 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.009152/1.328, allocations: 6.853 MB / 0.8705 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006414/1.334, allocations: 4.877 MB / 0.8753 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.334, allocations: 0 / 0.8753 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.336, allocations: 1.586 MB / 0.8768 GB, free: 52.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.338, allocations: 359.5 kB / 0.8772 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.354, allocations: 8.04 MB / 0.885 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.357, allocations: 3.042 MB / 0.888 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004282/1.361, allocations: 1.823 MB / 0.8898 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.363, allocations: 1.646 MB / 0.8914 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.784e-06/1.363, allocations: 0 / 0.8914 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3744/1.738, allocations: 73.94 MB / 0.9636 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.738, allocations: 181.4 kB / 0.9638 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/5.534, allocations: 2.844 kB / 0.9638 GB, free: 140.3 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat