Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.0009719, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 11.98 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 51.5 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003227/0.1219, allocations: 1.923 MB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.1228, allocations: 259.2 kB / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.1231, allocations: 11.94 kB / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1232, allocations: 27.77 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1236, allocations: 95.72 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1238, allocations: 39.95 kB / 360.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.1242, allocations: 211.5 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1245, allocations: 70.78 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.1247, allocations: 83.72 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1249, allocations: 111.5 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.1249, allocations: 12 kB / 361 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.125, allocations: 12 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1251, allocations: 39.84 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.1252, allocations: 73.58 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1254, allocations: 207.6 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1254, allocations: 0 / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1254, allocations: 0 / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.1255, allocations: 0 / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001011/0.1265, allocations: 0.499 MB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1265, allocations: 8.031 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.1267, allocations: 58.55 kB / 361.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.116e-05/0.1268, allocations: 35.56 kB / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1272, allocations: 235.4 kB / 362.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1272, allocations: 16.56 kB / 362.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.1273, allocations: 43.88 kB / 362.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.1278, allocations: 231.5 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.1278, allocations: 3.906 kB / 362.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1278, allocations: 19.92 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1278, allocations: 4 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.1282, allocations: 159.8 kB / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1294, allocations: 0.8008 MB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.1299, allocations: 287.8 kB / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1299, allocations: 7.984 kB / 363.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.13, allocations: 42.5 kB / 363.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.13, allocations: 0 / 363.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002882/0.1329, allocations: 1.944 MB / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.1329, allocations: 106.8 kB / 365.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1331, allocations: 192.1 kB / 366 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1332, allocations: 34.08 kB / 366.1 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.1333, allocations: 132.8 kB / 366.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1334, allocations: 169.6 kB / 366.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.1334, allocations: 8 kB / 366.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1336, allocations: 342.8 kB / 366.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1337, allocations: 92.83 kB / 366.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1339, allocations: 150.3 kB / 366.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1341, allocations: 123.4 kB / 367 MB, free: 4.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1341, allocations: 0 / 367 MB, free: 4.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004969/0.1346, allocations: 337 kB / 367.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1347, allocations: 11.98 kB / 367.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1347, allocations: 0 / 367.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1347, allocations: 4 kB / 367.4 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.135, allocations: 95.84 kB / 367.5 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1351, allocations: 4 kB / 367.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1352, allocations: 8.094 kB / 367.5 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.1352, allocations: 20 kB / 367.5 MB, free: 3.875 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 prepare postOptimizeDAE: time 0.0001458/0.1354, allocations: 152.3 kB / 367.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.1355, allocations: 35.58 kB / 367.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.1355, allocations: 37.81 kB / 367.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1355, allocations: 8 kB / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1356, allocations: 0 / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1356, allocations: 3.984 kB / 367.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.1369, allocations: 1.05 MB / 368.8 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.137, allocations: 0 / 368.8 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.1373, allocations: 83.91 kB / 368.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1373, allocations: 4 kB / 368.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.1374, allocations: 23.94 kB / 368.9 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.1374, allocations: 8.219 kB / 368.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1374, allocations: 8 kB / 368.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.1383, allocations: 0.8526 MB / 369.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.1384, allocations: 96.83 kB / 369.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1384, allocations: 16.06 kB / 369.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1387, allocations: 8 kB / 369.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1387, allocations: 39.97 kB / 369.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1388, allocations: 20 kB / 370 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1389, allocations: 139.3 kB / 370.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1389, allocations: 0 / 370.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.1395, allocations: 72.09 kB / 370.2 MB, free: 1.016 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * 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.1971/0.3366, allocations: 2.15 MB / 372.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.3372, allocations: 264 kB / 372.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3372, allocations: 2.969 kB / 372.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3374, allocations: 142.9 kB / 372.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.338, allocations: 57.73 kB / 372.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3408, allocations: 2.902 MB / 375.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3412, allocations: 0.7784 MB / 376.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.3414, allocations: 30.2 kB / 376.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.3415, allocations: 90.8 kB / 376.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3416, allocations: 0 / 376.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06919/0.4108, allocations: 5.299 MB / 381.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.4109, allocations: 191.5 kB / 382.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.371, allocations: 0 / 382.1 MB, free: 14.84 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat