Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009489, allocations: 93.67 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 182.3 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003314, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 61.93 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3204/0.4472, allocations: 73.95 MB / 0.5327 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04267/0.4899, allocations: 16.57 MB / 0.5489 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01812/0.5081, allocations: 371.4 kB / 0.5492 GB, free: 376 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01534/0.5235, allocations: 3.707 MB / 0.5529 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03457/0.5581, allocations: 10.43 MB / 0.5631 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005273/0.5634, allocations: 1.061 MB / 0.5641 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007126/0.5706, allocations: 3.72 MB / 0.5677 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.5825, allocations: 8.341 MB / 0.5759 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.5858, allocations: 1.651 MB / 0.5775 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/0.5893, allocations: 2.344 MB / 0.5798 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009837/0.5903, allocations: 256 kB / 0.58 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.5925, allocations: 0.8622 MB / 0.5809 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002361/0.5949, allocations: 2.665 MB / 0.5835 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.5966, allocations: 1.349 MB / 0.5848 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.6054, allocations: 8.791 MB / 0.5934 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6054, allocations: 0 / 0.5934 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6054, allocations: 0 / 0.5934 GB, free: 6.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004024/0.6059, allocations: 0 / 0.5934 GB, free: 6.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0147/0.6206, allocations: 6.421 MB / 0.5996 GB, free: 272 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6206, allocations: 12.03 kB / 0.5996 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003321/0.6239, allocations: 1.228 MB / 0.6008 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.6362, allocations: 3.208 MB / 0.604 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008983/0.6452, allocations: 3.819 MB / 0.6077 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.6456, allocations: 439.1 kB / 0.6081 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.6477, allocations: 0.5698 MB / 0.6087 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/0.6892, allocations: 20.5 MB / 0.6287 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.6895, allocations: 71.39 kB / 0.6288 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.6905, allocations: 275.7 kB / 0.629 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005292/0.6958, allocations: 3.333 MB / 0.6323 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/0.7346, allocations: 16.54 MB / 0.6484 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6466/1.381, allocations: 67.85 MB / 0.7147 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04014/1.421, allocations: 14.1 MB / 0.7285 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/1.441, allocations: 13.83 MB / 0.742 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.441, allocations: 64.78 kB / 0.742 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=261): time 6.001e-06/1.441, allocations: 3.375 kB / 0.742 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=295): time 0.09635/1.537, allocations: 39.84 MB / 0.7809 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.537, allocations: 173.2 kB / 0.7811 GB, free: 105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/1.544, allocations: 6.159 MB / 0.7871 GB, free: 98.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005209/1.544, allocations: 68.05 kB / 0.7872 GB, free: 98.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.546, allocations: 4.963 MB / 0.792 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.547, allocations: 1.128 MB / 0.7931 GB, free: 92.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/1.548, allocations: 186.4 kB / 0.7933 GB, free: 92.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003196/1.548, allocations: 0.6947 MB / 0.794 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/1.552, allocations: 2.973 MB / 0.7969 GB, free: 88.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/1.557, allocations: 8.54 MB / 0.8052 GB, free: 77.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006089/1.564, allocations: 4.848 MB / 0.81 GB, free: 72.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.983e-05/1.564, allocations: 56 kB / 0.81 GB, free: 72.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.01719/1.581, allocations: 11.41 MB / 0.8212 GB, free: 61.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/1.581, allocations: 90.34 kB / 0.8212 GB, free: 61.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/1.581, allocations: 204 kB / 0.8214 GB, free: 61.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007744/1.582, allocations: 0.5206 MB / 0.8219 GB, free: 60.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006841/1.589, allocations: 2.261 MB / 0.8242 GB, free: 58.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/1.591, allocations: 2.709 MB / 0.8268 GB, free: 55.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007218/1.598, allocations: 0.5078 MB / 0.8273 GB, free: 55.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.6, allocations: 0.5516 MB / 0.8278 GB, free: 54.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.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 (1181): * Single equations (assignments): 1177 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006352/1.606, allocations: 3.229 MB / 0.831 GB, free: 51.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.608, allocations: 0.5244 MB / 0.8315 GB, free: 50.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006115/1.614, allocations: 3.857 MB / 0.8353 GB, free: 47.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/1.614, allocations: 28 kB / 0.8353 GB, free: 47.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.614, allocations: 4 kB / 0.8353 GB, free: 47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.614, allocations: 16.36 kB / 0.8353 GB, free: 46.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02152/1.635, allocations: 12.4 MB / 0.8474 GB, free: 34.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-05/1.635, allocations: 28 kB / 0.8474 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.638, allocations: 0.5621 MB / 0.848 GB, free: 33.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-05/1.638, allocations: 44 kB / 0.848 GB, free: 33.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002575/1.638, allocations: 95.88 kB / 0.8481 GB, free: 33.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.348e-05/1.638, allocations: 55.84 kB / 0.8482 GB, free: 33.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/1.638, allocations: 39.81 kB / 0.8482 GB, free: 33.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/1.645, allocations: 10.73 MB / 0.8587 GB, free: 21.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/1.646, allocations: 0.5964 MB / 0.8593 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/1.647, allocations: 93.19 kB / 0.8594 GB, free: 20.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.649, allocations: 151.9 kB / 0.8595 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.649, allocations: 252.5 kB / 0.8598 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.649, allocations: 108.8 kB / 0.8599 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004857/1.654, allocations: 3.873 MB / 0.8636 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/1.654, allocations: 0 / 0.8636 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007982/1.662, allocations: 1.513 MB / 0.8651 GB, free: 14.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (277): * Single equations (assignments): 274 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009132/1.671, allocations: 16.39 MB / 0.8811 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.683, allocations: 6.639 MB / 0.8876 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/1.684, allocations: 4 kB / 0.8876 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.686, allocations: 1.47 MB / 0.8891 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/1.691, allocations: 0.711 MB / 0.8897 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3311/2.022, allocations: 170.6 MB / 1.056 GB, free: 82.26 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/2.033, allocations: 5.024 MB / 1.061 GB, free: 81.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009062/2.042, allocations: 2.655 MB / 1.064 GB, free: 81.14 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00564/2.048, allocations: 3.31 MB / 1.067 GB, free: 78.67 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/2.048, allocations: 0 / 1.067 GB, free: 78.67 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4501/2.498, allocations: 110.4 MB / 1.175 GB, free: 194.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/2.498, allocations: 187.9 kB / 1.175 GB, free: 194.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.357/7.855, allocations: 0 / 1.175 GB, free: 194.6 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat