Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_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.000969/0.000969, allocations: 101.2 kB / 16.94 MB, free: 5.98 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.0009518/0.0009519, allocations: 180.1 kB / 17.82 MB, free: 5.652 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.444/1.444, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.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.0004744/0.0004745, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002433/0.1092, allocations: 1.903 MB / 330.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.1096, allocations: 259.2 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.1097, allocations: 4 kB / 330.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.1098, allocations: 31.77 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.11, allocations: 95.72 kB / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1101, allocations: 51.88 kB / 330.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1104, allocations: 195.6 kB / 330.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1106, allocations: 77.69 kB / 331 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.1107, allocations: 95.58 kB / 331.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1108, allocations: 99.55 kB / 331.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1108, allocations: 12 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.1109, allocations: 12 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.1109, allocations: 39.84 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.111, allocations: 73.58 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1113, allocations: 211.6 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1113, allocations: 0 / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1113, allocations: 4 kB / 331.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1113, allocations: 0 / 331.6 MB, free: 0.8438 MB / 270.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.000716/0.1121, allocations: 0.5028 MB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1121, allocations: 12.03 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.1122, allocations: 58.55 kB / 332.1 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1122, allocations: 23.72 kB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1125, allocations: 247.2 kB / 332.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1126, allocations: 20.52 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.1126, allocations: 24 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.113, allocations: 235.5 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.113, allocations: 4 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1131, allocations: 8 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1131, allocations: 16 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.1134, allocations: 163.7 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1144, allocations: 0.8049 MB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.115, allocations: 287.7 kB / 333.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.115, allocations: 8 kB / 333.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1151, allocations: 38.55 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.382e-06/0.1151, allocations: 0 / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002662/0.1178, allocations: 1.938 MB / 335.9 MB, free: 12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1178, allocations: 118.8 kB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.118, allocations: 186.6 kB / 336.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.118, allocations: 29.7 kB / 336.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1181, allocations: 148.6 kB / 336.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1183, allocations: 157.6 kB / 336.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.1183, allocations: 12 kB / 336.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1184, allocations: 338.8 kB / 336.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1186, allocations: 92.78 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1188, allocations: 154.3 kB / 337.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.119, allocations: 119.2 kB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.119, allocations: 0 / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004814/0.1195, allocations: 345.1 kB / 337.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1195, allocations: 7.938 kB / 337.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1195, allocations: 4 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1195, allocations: 4 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.1199, allocations: 91.89 kB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1199, allocations: 4 kB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.12, allocations: 8 kB / 337.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.12, allocations: 12 kB / 337.7 MB, free: 10.12 MB / 286.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.0001439/0.1202, allocations: 161.7 kB / 337.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-05/0.1202, allocations: 31.7 kB / 337.9 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1203, allocations: 41.91 kB / 337.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1203, allocations: 4.938 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1203, allocations: 0 / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1204, allocations: 3.984 kB / 338 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1216, allocations: 1.047 MB / 339 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1216, allocations: 4.094 kB / 339 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.122, allocations: 99.67 kB / 339.1 MB, free: 8.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.122, allocations: 8 kB / 339.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.122, allocations: 8 kB / 339.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.122, allocations: 7.984 kB / 339.1 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.122, allocations: 4 kB / 339.1 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.1228, allocations: 0.8452 MB / 340 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.1229, allocations: 112.8 kB / 340.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.1229, allocations: 11.95 kB / 340.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1231, allocations: 12 kB / 340.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1232, allocations: 35.89 kB / 340.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1232, allocations: 16 kB / 340.2 MB, free: 7.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.1233, allocations: 132.5 kB / 340.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 340.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.1237, allocations: 72 kB / 340.4 MB, free: 7.25 MB / 286.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.001329/0.1251, allocations: 2.166 MB / 342.5 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1255, allocations: 251.8 kB / 342.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1255, allocations: 0 / 342.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.1257, allocations: 147.6 kB / 342.9 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.1262, allocations: 52.72 kB / 343 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.1293, allocations: 2.906 MB / 345.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1297, allocations: 0.7727 MB / 346.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.1298, allocations: 42.88 kB / 346.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.13, allocations: 87.42 kB / 346.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.13, allocations: 0 / 346.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1466, allocations: 5.301 MB / 352.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.1468, allocations: 172.9 kB / 352.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/1.991, allocations: 0 / 352.2 MB, free: 11.07 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat