Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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 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 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 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.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",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.001253/0.001253, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 180.6 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.7 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.401/0.401, allocations: 43.55 MB / 314.5 MB, free: 8.898 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007362/0.0007362, allocations: 14.97 kB / 384 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1356, allocations: 58.85 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3034/0.4391, allocations: 75.04 MB / 0.5057 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04594/0.485, allocations: 16.81 MB / 0.5222 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02786/0.513, allocations: 363.6 kB / 0.5225 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02141/0.5344, allocations: 3.739 MB / 0.5262 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05218/0.5867, allocations: 10.55 MB / 0.5365 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006654/0.5934, allocations: 1.078 MB / 0.5375 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.6035, allocations: 3.963 MB / 0.5414 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.6186, allocations: 8.488 MB / 0.5497 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.6242, allocations: 1.779 MB / 0.5514 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005772/0.63, allocations: 2.566 MB / 0.5539 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.6322, allocations: 276 kB / 0.5542 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.6362, allocations: 0.87 MB / 0.555 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004469/0.6407, allocations: 2.833 MB / 0.5578 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.6434, allocations: 1.431 MB / 0.5592 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.6557, allocations: 9.398 MB / 0.5684 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6558, allocations: 0 / 0.5684 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6558, allocations: 4 kB / 0.5684 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004853/0.6563, allocations: 0 / 0.5684 GB, free: 15.39 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01694/0.6732, allocations: 6.842 MB / 0.5751 GB, free: 8.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6733, allocations: 8.031 kB / 0.5751 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004247/0.6775, allocations: 1.298 MB / 0.5763 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.6914, allocations: 3.271 MB / 0.5795 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009995/0.7014, allocations: 4.397 MB / 0.5838 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/0.7019, allocations: 471.6 kB / 0.5843 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/0.7042, allocations: 0.5855 MB / 0.5849 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04674/0.7509, allocations: 21.49 MB / 0.6058 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.7512, allocations: 67.41 kB / 0.6059 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008755/0.7521, allocations: 283.7 kB / 0.6062 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005481/0.7576, allocations: 3.549 MB / 0.6096 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0427/0.8003, allocations: 17.52 MB / 0.6267 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7082/1.509, allocations: 70.48 MB / 0.6956 GB, free: 30.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0393/1.548, allocations: 14.57 MB / 0.7098 GB, free: 24.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02273/1.571, allocations: 14.54 MB / 0.724 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03635/1.607, allocations: 12.43 MB / 0.7361 GB, free: 3.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=303): time 7.685e-06/1.607, allocations: 0 / 0.7361 GB, free: 3.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=337): time 0.1279/1.735, allocations: 42.32 MB / 0.7775 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/1.735, allocations: 166.8 kB / 0.7776 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.745, allocations: 6.372 MB / 0.7839 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.747, allocations: 79.64 kB / 0.7839 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005557/1.752, allocations: 5.303 MB / 0.7891 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.754, allocations: 1.275 MB / 0.7904 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/1.755, allocations: 201.8 kB / 0.7905 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000532/1.755, allocations: 0.7114 MB / 0.7912 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005571/1.761, allocations: 3.251 MB / 0.7944 GB, free: 408 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/1.772, allocations: 9.016 MB / 0.8032 GB, free: 5.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.784, allocations: 5.241 MB / 0.8083 GB, free: 1.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004041/1.784, allocations: 56 kB / 0.8084 GB, free: 1.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.02847/1.812, allocations: 12.23 MB / 0.8203 GB, free: 6.465 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006242/1.813, allocations: 121.7 kB / 0.8205 GB, free: 6.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006702/1.814, allocations: 204 kB / 0.8207 GB, free: 6.141 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.815, allocations: 0.5321 MB / 0.8212 GB, free: 5.605 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009584/1.825, allocations: 2.413 MB / 0.8235 GB, free: 3.391 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/1.829, allocations: 2.728 MB / 0.8262 GB, free: 0.625 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009299/1.838, allocations: 0.5579 MB / 0.8267 GB, free: 68 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002508/1.841, allocations: 0.5703 MB / 0.8273 GB, free: 15.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1260): * Single equations (assignments): 1255 * Array equations: 3 * Algorithm blocks: 1 * 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.01044/1.851, allocations: 3.414 MB / 0.8306 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002088/1.853, allocations: 0.5468 MB / 0.8312 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.866, allocations: 4.429 MB / 0.8355 GB, free: 7.242 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/1.866, allocations: 39.52 kB / 0.8355 GB, free: 7.207 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/1.866, allocations: 8 kB / 0.8355 GB, free: 7.199 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/1.866, allocations: 15.94 kB / 0.8355 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3687/2.235, allocations: 13.68 MB / 0.8489 GB, free: 215.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/2.235, allocations: 26.53 kB / 0.8489 GB, free: 215.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/2.238, allocations: 0.7103 MB / 0.8496 GB, free: 215 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.72e-05/2.238, allocations: 46.84 kB / 0.8497 GB, free: 215 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/2.238, allocations: 94.19 kB / 0.8498 GB, free: 215 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.194e-05/2.238, allocations: 61.45 kB / 0.8498 GB, free: 215 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-05/2.238, allocations: 43.72 kB / 0.8499 GB, free: 215 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/2.249, allocations: 11.83 MB / 0.8614 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003542/2.253, allocations: 0.8869 MB / 0.8623 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/2.254, allocations: 97.09 kB / 0.8624 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/2.256, allocations: 185.1 kB / 0.8626 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/2.257, allocations: 297.3 kB / 0.8628 GB, free: 207 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/2.257, allocations: 132.9 kB / 0.863 GB, free: 207 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006215/2.263, allocations: 4.001 MB / 0.8669 GB, free: 205.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.3e-07/2.263, allocations: 0 / 0.8669 GB, free: 205.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0091/2.272, allocations: 1.625 MB / 0.8685 GB, free: 205.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 317 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01426/2.287, allocations: 17.56 MB / 0.8856 GB, free: 191 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01495/2.302, allocations: 7.32 MB / 0.8928 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.381e-05/2.302, allocations: 4.781 kB / 0.8928 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004853/2.307, allocations: 1.982 MB / 0.8947 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/2.313, allocations: 0.7134 MB / 0.8954 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08122/2.394, allocations: 177.5 MB / 1.069 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00878/2.403, allocations: 5.299 MB / 1.074 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007447/2.411, allocations: 2.806 MB / 1.077 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004617/2.415, allocations: 3.471 MB / 1.08 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of SimCode: time 1.502e-06/2.415, allocations: 0 / 1.08 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4158/2.831, allocations: 117.5 MB / 1.195 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.831, allocations: 192.8 kB / 1.195 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.829/8.66, allocations: 3.938 kB / 1.195 GB, free: 144.2 MB / 0.5763 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat