Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",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.001043/0.001043, allocations: 93.62 kB / 16.93 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.001014/0.001014, allocations: 179.9 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.473/1.473, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004936/0.0004937, allocations: 12 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09623, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002734/0.09901, allocations: 1.919 MB / 330.3 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1003, allocations: 0.7576 MB / 331.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1004, allocations: 4 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.1005, allocations: 31.72 kB / 331.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1008, allocations: 119.7 kB / 331.2 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1011, allocations: 103.8 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1014, allocations: 287.5 kB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1016, allocations: 73.06 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1018, allocations: 155.5 kB / 331.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.102, allocations: 191.3 kB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1021, allocations: 20 kB / 332.1 MB, free: 352 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.1021, allocations: 20 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.1022, allocations: 63.8 kB / 332.1 MB, free: 268 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.1023, allocations: 85.52 kB / 332.2 MB, free: 176 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1026, allocations: 287.5 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1026, allocations: 0 / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1026, allocations: 0 / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1026, allocations: 0 / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001547/0.1042, allocations: 0.6705 MB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1042, allocations: 11.97 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.165e-05/0.1043, allocations: 70.53 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.1044, allocations: 31.62 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1048, allocations: 266.4 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.1051, allocations: 127.9 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.1052, allocations: 31.91 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.1061, allocations: 411.9 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1061, allocations: 0 / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1062, allocations: 16 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1062, allocations: 4 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1074, allocations: 460.7 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1087, allocations: 0.9821 MB / 335.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1097, allocations: 463.4 kB / 336 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1098, allocations: 4 kB / 336 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1098, allocations: 34.56 kB / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.1098, allocations: 0 / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004829/0.1146, allocations: 2.512 MB / 338.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1147, allocations: 114.8 kB / 338.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1149, allocations: 199.2 kB / 338.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.115, allocations: 37.7 kB / 338.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.1151, allocations: 144.6 kB / 339 MB, free: 8.816 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.1152, allocations: 141.9 kB / 339.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.1152, allocations: 8 kB / 339.2 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1153, allocations: 334.8 kB / 339.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.1157, allocations: 116.8 kB / 339.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.116, allocations: 165.5 kB / 339.8 MB, free: 8.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.1163, allocations: 135.7 kB / 339.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1163, allocations: 8 kB / 339.9 MB, free: 7.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007592/0.1171, allocations: 365.1 kB / 340.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1171, allocations: 8 kB / 340.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.1171, allocations: 3.953 kB / 340.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1172, allocations: 8.094 kB / 340.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.1179, allocations: 167.8 kB / 340.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.1179, allocations: 4.922 kB / 340.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1181, allocations: 27.98 kB / 340.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1181, allocations: 16 kB / 340.5 MB, free: 7.305 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (47): * Single equations (assignments): 47 * 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.0001508/0.1183, allocations: 145.7 kB / 340.7 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.1184, allocations: 27.62 kB / 340.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.1185, allocations: 37.52 kB / 340.7 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1185, allocations: 7.953 kB / 340.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1185, allocations: 7.938 kB / 340.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1185, allocations: 3.984 kB / 340.7 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.1208, allocations: 1.393 MB / 342.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1208, allocations: 8 kB / 342.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.1217, allocations: 208 kB / 342.3 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1217, allocations: 0 / 342.3 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.1218, allocations: 19.98 kB / 342.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1218, allocations: 4 kB / 342.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1218, allocations: 7.891 kB / 342.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.1239, allocations: 1.137 MB / 343.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.124, allocations: 136.7 kB / 343.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.1241, allocations: 15.98 kB / 343.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.1245, allocations: 59.95 kB / 343.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.1246, allocations: 39.94 kB / 343.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1247, allocations: 11.98 kB / 343.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1248, allocations: 148.6 kB / 343.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1248, allocations: 4 kB / 343.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.1252, allocations: 84 kB / 344 MB, free: 3.605 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_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 (38): * Single equations (assignments): 38 * 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.002501/0.1278, allocations: 2.232 MB / 346.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.1287, allocations: 407.8 kB / 346.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1287, allocations: 0 / 346.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.1294, allocations: 276 kB / 346.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.13, allocations: 61.94 kB / 347 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.137, allocations: 3.494 MB / 350.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1374, allocations: 0.7763 MB / 351.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1376, allocations: 34.97 kB / 351.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.1378, allocations: 95.39 kB / 351.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1378, allocations: 0 / 351.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.156, allocations: 6.299 MB / 357.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.1563, allocations: 187.8 kB / 357.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.97, allocations: 3.938 kB / 357.8 MB, free: 5.5 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat