Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.4 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 94.98 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.195/0.195, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.408e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.603, allocations: 108 MB / 0.6073 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.6033, allocations: 76.75 kB / 0.6074 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1834/0.7867, allocations: 72.28 MB / 0.678 GB, free: 4.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7867, allocations: 3.938 kB / 0.678 GB, free: 4.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.7869, allocations: 72 kB / 0.678 GB, free: 4.238 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.011/0.7979, allocations: 3.619 MB / 0.6816 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.15e-05/0.798, allocations: 12.03 kB / 0.6816 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002838/0.8009, allocations: 0.7302 MB / 0.6823 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009225/0.8101, allocations: 2.07 MB / 0.6843 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.8158, allocations: 2.08 MB / 0.6863 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.8161, allocations: 304 kB / 0.6866 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.8177, allocations: 407.8 kB / 0.687 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.8426, allocations: 11.03 MB / 0.6978 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.8428, allocations: 59.47 kB / 0.6978 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006293/0.8435, allocations: 195.9 kB / 0.698 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.845, allocations: 1.073 MB / 0.6991 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.8655, allocations: 9.379 MB / 0.7082 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4075/1.273, allocations: 45.88 MB / 0.753 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.284, allocations: 4.24 MB / 0.7572 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/1.288, allocations: 2.291 MB / 0.7594 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/1.298, allocations: 5.758 MB / 0.765 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/1.298, allocations: 54.75 kB / 0.7651 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 6.232e-06/1.298, allocations: 0 / 0.7651 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=224): time 0.05642/1.354, allocations: 21.86 MB / 0.7864 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.355, allocations: 151.8 kB / 0.7866 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/1.359, allocations: 2.971 MB / 0.7895 GB, free: 91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003382/1.359, allocations: 60.47 kB / 0.7895 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.36, allocations: 2.804 MB / 0.7923 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000687/1.361, allocations: 0.8435 MB / 0.7931 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/1.361, allocations: 121.2 kB / 0.7932 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002474/1.362, allocations: 0.5561 MB / 0.7938 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/1.365, allocations: 2.511 MB / 0.7962 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/1.369, allocations: 5.94 MB / 0.802 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004878/1.374, allocations: 3.841 MB / 0.8058 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.892e-05/1.374, allocations: 33.94 kB / 0.8058 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01569/1.39, allocations: 9.092 MB / 0.8147 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/1.39, allocations: 56.5 kB / 0.8147 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.39, allocations: 122.2 kB / 0.8148 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/1.393, allocations: 1.067 MB / 0.8159 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/1.398, allocations: 1.41 MB / 0.8173 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/1.403, allocations: 5.382 MB / 0.8225 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/1.409, allocations: 333.4 kB / 0.8228 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.41, allocations: 364.1 kB / 0.8232 GB, free: 68.96 MB / 0.5105 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 () * 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.002219/1.412, allocations: 0.5559 MB / 0.8237 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.414, allocations: 308 kB / 0.824 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009153/1.423, allocations: 4.516 MB / 0.8284 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/1.423, allocations: 24 kB / 0.8285 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.423, allocations: 7.875 kB / 0.8285 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/1.423, allocations: 14.97 kB / 0.8285 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/1.444, allocations: 9.929 MB / 0.8382 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.444, allocations: 0 / 0.8382 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.447, allocations: 385.5 kB / 0.8385 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/1.449, allocations: 0.8737 MB / 0.8394 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/1.449, allocations: 36 kB / 0.8394 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/1.453, allocations: 4.727 MB / 0.844 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.454, allocations: 3.953 kB / 0.8441 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.465, allocations: 7.853 MB / 0.8517 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.467, allocations: 364.6 kB / 0.8521 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.468, allocations: 37.02 kB / 0.8521 GB, free: 43.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.47, allocations: 124.1 kB / 0.8522 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/1.47, allocations: 126.1 kB / 0.8523 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.471, allocations: 56.58 kB / 0.8524 GB, free: 42.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003152/1.474, allocations: 2.034 MB / 0.8544 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.474, allocations: 0 / 0.8544 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005202/1.479, allocations: 1.021 MB / 0.8554 GB, free: 40.02 MB / 0.5105 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 () * 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.01006/1.489, allocations: 8.695 MB / 0.8639 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.501, allocations: 6.598 MB / 0.8703 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.501, allocations: 4 kB / 0.8703 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.505, allocations: 2.735 MB / 0.873 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/1.508, allocations: 314.9 kB / 0.8733 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.534, allocations: 9.293 MB / 0.8824 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005675/1.54, allocations: 3.129 MB / 0.8854 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005554/1.546, allocations: 1.946 MB / 0.8873 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003658/1.549, allocations: 1.718 MB / 0.889 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/1.549, allocations: 0 / 0.889 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4504/2, allocations: 75.05 MB / 0.9623 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/2, allocations: 180.6 kB / 0.9625 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/6.82, allocations: 3.094 kB / 0.9625 GB, free: 130.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat