Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 198.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009751, allocations: 106.5 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3483/0.3483, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 12.22 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3544, allocations: 63.25 MB / 0.5193 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.5139, allocations: 109.2 MB / 0.6259 GB, free: 10.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5142, allocations: 83.92 kB / 0.626 GB, free: 10.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4995/1.014, allocations: 72.37 MB / 0.6966 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.014, allocations: 0 / 0.6966 GB, free: 101.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001272/1.014, allocations: 70.88 kB / 0.6967 GB, free: 101.8 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01281/1.027, allocations: 3.78 MB / 0.7004 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.027, allocations: 13.17 kB / 0.7004 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002402/1.029, allocations: 0.7393 MB / 0.7011 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008634/1.038, allocations: 2.07 MB / 0.7031 GB, free: 99.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007195/1.045, allocations: 2.08 MB / 0.7052 GB, free: 99.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/1.046, allocations: 301.6 kB / 0.7055 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.047, allocations: 403.1 kB / 0.7059 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03488/1.082, allocations: 11.12 MB / 0.7167 GB, free: 96.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/1.083, allocations: 46.5 kB / 0.7168 GB, free: 96.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009193/1.083, allocations: 200.8 kB / 0.7169 GB, free: 96.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002138/1.086, allocations: 1.073 MB / 0.718 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/1.113, allocations: 9.501 MB / 0.7273 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05481/1.167, allocations: 45.88 MB / 0.7721 GB, free: 59.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/1.183, allocations: 4.271 MB / 0.7763 GB, free: 57.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/1.195, allocations: 5.767 MB / 0.7819 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.195, allocations: 59.06 kB / 0.7819 GB, free: 54.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 9.428e-06/1.195, allocations: 4 kB / 0.7819 GB, free: 54.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.07985/1.275, allocations: 27.67 MB / 0.809 GB, free: 27.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.275, allocations: 154.5 kB / 0.8091 GB, free: 27.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/1.28, allocations: 3.007 MB / 0.8121 GB, free: 24.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.28, allocations: 53.7 kB / 0.8121 GB, free: 24.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/1.282, allocations: 2.804 MB / 0.8148 GB, free: 21.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/1.283, allocations: 0.8361 MB / 0.8157 GB, free: 20.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/1.283, allocations: 119.9 kB / 0.8158 GB, free: 20.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002894/1.283, allocations: 0.562 MB / 0.8163 GB, free: 20.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/1.286, allocations: 2.565 MB / 0.8188 GB, free: 17.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004618/1.291, allocations: 5.982 MB / 0.8247 GB, free: 9.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/1.296, allocations: 3.869 MB / 0.8284 GB, free: 5.973 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/1.296, allocations: 32 kB / 0.8285 GB, free: 5.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0183/1.315, allocations: 9.183 MB / 0.8374 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.315, allocations: 56 kB / 0.8375 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/1.315, allocations: 120 kB / 0.8376 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/1.318, allocations: 1.061 MB / 0.8387 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/1.324, allocations: 1.411 MB / 0.84 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/1.331, allocations: 5.487 MB / 0.8454 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005644/1.337, allocations: 330.5 kB / 0.8457 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/1.339, allocations: 364 kB / 0.8461 GB, free: 3.656 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005495/1.344, allocations: 1.955 MB / 0.848 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009935/1.345, allocations: 319.8 kB / 0.8483 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.355, allocations: 4.557 MB / 0.8527 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/1.356, allocations: 27.91 kB / 0.8527 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/1.356, allocations: 4 kB / 0.8527 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.356, allocations: 11.97 kB / 0.8528 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/1.382, allocations: 9.971 MB / 0.8625 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.382, allocations: 0 / 0.8625 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.384, allocations: 387.4 kB / 0.8629 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002669/1.387, allocations: 0.8765 MB / 0.8637 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004355/1.387, allocations: 36 kB / 0.8638 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005533/1.393, allocations: 4.829 MB / 0.8685 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.393, allocations: 4.031 kB / 0.8685 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.407, allocations: 7.928 MB / 0.8762 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.408, allocations: 372.8 kB / 0.8766 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009769/1.409, allocations: 32 kB / 0.8766 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.411, allocations: 127.8 kB / 0.8767 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/1.412, allocations: 121.8 kB / 0.8768 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.412, allocations: 55.98 kB / 0.8769 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005523/1.417, allocations: 2.057 MB / 0.8789 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.82e-07/1.417, allocations: 0 / 0.8789 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008466/1.426, allocations: 1.027 MB / 0.8799 GB, free: 0.5781 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3764/1.802, allocations: 8.768 MB / 0.8885 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.815, allocations: 6.675 MB / 0.895 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.815, allocations: 0 / 0.895 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005177/1.82, allocations: 2.767 MB / 0.8977 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.822, allocations: 303.7 kB / 0.898 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08513/1.907, allocations: 116.5 MB / 1.012 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005442/1.913, allocations: 3.12 MB / 1.015 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005334/1.918, allocations: 1.956 MB / 1.017 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003864/1.922, allocations: 1.719 MB / 1.018 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of SimCode: time 2.034e-06/1.922, allocations: 0 / 1.018 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4188/2.341, allocations: 74.61 MB / 1.091 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/2.341, allocations: 194.8 kB / 1.091 GB, free: 135 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.922/7.264, allocations: 3.562 kB / 1.091 GB, free: 135 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat