Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper",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.001615/0.00162, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 82.8 kB / 270.9 MB, free: 8.371 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.5436/0.5436, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005809/0.0005809, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1346, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4321/0.5667, allocations: 74.97 MB / 0.552 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05499/0.6218, allocations: 16.78 MB / 0.5684 GB, free: 1.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0199/0.6417, allocations: 363.8 kB / 0.5688 GB, free: 1.609 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01457/0.6563, allocations: 3.747 MB / 0.5724 GB, free: 384 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04612/0.7025, allocations: 10.54 MB / 0.5827 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007681/0.7102, allocations: 1.058 MB / 0.5838 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.7219, allocations: 3.932 MB / 0.5876 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01917/0.7412, allocations: 8.469 MB / 0.5959 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.7461, allocations: 1.767 MB / 0.5976 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006018/0.7522, allocations: 2.543 MB / 0.6001 GB, free: 9.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.7543, allocations: 276 kB / 0.6003 GB, free: 9.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.7584, allocations: 0.8506 MB / 0.6012 GB, free: 8.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005783/0.7643, allocations: 2.844 MB / 0.6039 GB, free: 5.828 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.768, allocations: 1.423 MB / 0.6053 GB, free: 4.395 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.7849, allocations: 9.367 MB / 0.6145 GB, free: 11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.785, allocations: 0 / 0.6145 GB, free: 11 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.785, allocations: 0 / 0.6145 GB, free: 11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004618/0.7855, allocations: 3.938 kB / 0.6145 GB, free: 11 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02207/0.8075, allocations: 6.751 MB / 0.6211 GB, free: 4.168 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.8076, allocations: 11.97 kB / 0.6211 GB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004916/0.8125, allocations: 1.294 MB / 0.6224 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/0.8357, allocations: 3.267 MB / 0.6255 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.8494, allocations: 4.397 MB / 0.6298 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000718/0.8501, allocations: 459.6 kB / 0.6303 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.8532, allocations: 0.5856 MB / 0.6308 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07527/0.9285, allocations: 21.44 MB / 0.6518 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004284/0.929, allocations: 71.28 kB / 0.6519 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002656/0.9317, allocations: 291.7 kB / 0.6521 GB, free: 3.125 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01047/0.9422, allocations: 3.541 MB / 0.6556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7216/1.664, allocations: 17.43 MB / 0.6726 GB, free: 128.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.788, allocations: 70.42 MB / 0.7414 GB, free: 83.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07579/1.864, allocations: 14.48 MB / 0.7555 GB, free: 78.25 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03275/1.897, allocations: 14.49 MB / 0.7697 GB, free: 68.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.897, allocations: 72.5 kB / 0.7697 GB, free: 68.67 MB / 490.8 MB Notification: Performance of pre-optimization done (n=300): time 7.264e-06/1.897, allocations: 0 / 0.7697 GB, free: 68.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=334): time 0.1938/2.091, allocations: 41.72 MB / 0.8105 GB, free: 26.68 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/2.091, allocations: 166.7 kB / 0.8107 GB, free: 26.49 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/2.105, allocations: 6.352 MB / 0.8169 GB, free: 20.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000761/2.105, allocations: 81.69 kB / 0.8169 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003842/2.109, allocations: 5.048 MB / 0.8219 GB, free: 14.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/2.111, allocations: 1.262 MB / 0.8231 GB, free: 13.74 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009816/2.112, allocations: 200 kB / 0.8233 GB, free: 13.55 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006425/2.113, allocations: 0.7203 MB / 0.824 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008943/2.122, allocations: 3.197 MB / 0.8271 GB, free: 9.613 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/2.135, allocations: 8.967 MB / 0.8359 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/2.15, allocations: 5.175 MB / 0.8409 GB, free: 8.582 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/2.15, allocations: 63.95 kB / 0.841 GB, free: 8.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.03765/2.188, allocations: 11.91 MB / 0.8526 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/2.188, allocations: 92 kB / 0.8527 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003879/2.188, allocations: 204 kB / 0.8529 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/2.19, allocations: 0.5281 MB / 0.8534 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/2.205, allocations: 2.402 MB / 0.8558 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/2.21, allocations: 2.72 MB / 0.8584 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.222, allocations: 0.5461 MB / 0.859 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002322/2.224, allocations: 0.573 MB / 0.8595 GB, free: 5.363 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1256): * Single equations (assignments): 1252 * 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.00979/2.234, allocations: 3.401 MB / 0.8628 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.235, allocations: 0.5484 MB / 0.8634 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3649/2.6, allocations: 4.335 MB / 0.8676 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/2.6, allocations: 35.44 kB / 0.8676 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/2.6, allocations: 1.062 kB / 0.8676 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.976e-05/2.6, allocations: 19.53 kB / 0.8677 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04136/2.642, allocations: 13.66 MB / 0.881 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.963e-05/2.642, allocations: 27.78 kB / 0.881 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005225/2.647, allocations: 0.6318 MB / 0.8816 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/2.647, allocations: 46.56 kB / 0.8817 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005533/2.648, allocations: 95.83 kB / 0.8818 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-05/2.648, allocations: 68.81 kB / 0.8818 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.129e-05/2.648, allocations: 44.56 kB / 0.8819 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/2.664, allocations: 11.86 MB / 0.8935 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003469/2.667, allocations: 0.8879 MB / 0.8943 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.669, allocations: 109.1 kB / 0.8944 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004808/2.674, allocations: 168 kB / 0.8946 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009001/2.675, allocations: 281.9 kB / 0.8949 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/2.675, allocations: 128.5 kB / 0.895 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01024/2.686, allocations: 3.991 MB / 0.8989 GB, free: 138 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.31e-07/2.686, allocations: 0 / 0.8989 GB, free: 138 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0114/2.697, allocations: 1.618 MB / 0.9005 GB, free: 137.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (319): * Single equations (assignments): 316 * 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.01874/2.716, allocations: 17.63 MB / 0.9177 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01929/2.735, allocations: 7.178 MB / 0.9247 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/2.735, allocations: 5.094 kB / 0.9247 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/2.74, allocations: 1.693 MB / 0.9264 GB, free: 120 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006592/2.747, allocations: 0.7008 MB / 0.927 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.442/3.189, allocations: 178.2 MB / 1.101 GB, free: 120.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/3.202, allocations: 5.296 MB / 1.106 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008416/3.211, allocations: 3.581 MB / 1.11 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of SimCode: time 1.824e-06/3.211, allocations: 3.938 kB / 1.11 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.261/8.472, allocations: 145.3 MB / 1.252 GB, free: 6.809 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat