Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 109.4 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 216.4 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.5 MB / 256.5 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.89 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2484, allocations: 53.31 MB / 429.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003971/0.2524, allocations: 2.476 MB / 432 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.254, allocations: 0.7717 MB / 432.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2542, allocations: 4 kB / 432.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.2543, allocations: 35.59 kB / 432.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.2546, allocations: 119 kB / 432.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.2549, allocations: 123.2 kB / 433 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.2554, allocations: 466.2 kB / 433.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2556, allocations: 60.91 kB / 433.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2558, allocations: 195.4 kB / 433.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.2561, allocations: 207.3 kB / 433.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.2562, allocations: 36 kB / 434 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.2562, allocations: 40 kB / 434 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.2563, allocations: 83.73 kB / 434.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2565, allocations: 183.2 kB / 434.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.257, allocations: 410.9 kB / 434.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.257, allocations: 0 / 434.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.257, allocations: 7.938 kB / 434.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.257, allocations: 0 / 434.7 MB, free: 2.207 MB / 334.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.001614/0.2586, allocations: 0.6898 MB / 435.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2587, allocations: 12.03 kB / 435.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.932e-05/0.2587, allocations: 58.73 kB / 435.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.2588, allocations: 36.75 kB / 435.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2593, allocations: 268.7 kB / 435.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.2594, allocations: 84.08 kB / 435.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.2594, allocations: 35.98 kB / 435.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.2603, allocations: 379.2 kB / 436.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2604, allocations: 0 / 436.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2604, allocations: 12 kB / 436.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2604, allocations: 7.938 kB / 436.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2616, allocations: 395.6 kB / 436.6 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.263, allocations: 0.978 MB / 437.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2641, allocations: 391.6 kB / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.2648, allocations: 210.4 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.2648, allocations: 4 kB / 438.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.2648, allocations: 50.48 kB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.2648, allocations: 0 / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005122/0.27, allocations: 2.317 MB / 440.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.27, allocations: 110.8 kB / 440.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.2703, allocations: 207.2 kB / 440.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2703, allocations: 29.7 kB / 440.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2704, allocations: 156.8 kB / 441.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2706, allocations: 138.8 kB / 441.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2707, allocations: 82.06 kB / 441.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2709, allocations: 334.8 kB / 441.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.2712, allocations: 108.8 kB / 441.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.2715, allocations: 169.4 kB / 441.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.2722, allocations: 295.5 kB / 442.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2722, allocations: 3.938 kB / 442.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000844/0.2731, allocations: 363.6 kB / 442.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2731, allocations: 4 kB / 442.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2731, allocations: 4 kB / 442.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2731, allocations: 4 kB / 442.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.2738, allocations: 151.8 kB / 442.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2738, allocations: 0 / 442.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.274, allocations: 31.97 kB / 442.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.2741, allocations: 12 kB / 442.7 MB, free: 9.582 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.2742, allocations: 145.7 kB / 442.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.2743, allocations: 35.75 kB / 442.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.2744, allocations: 37.52 kB / 442.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2744, allocations: 4 kB / 443 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2744, allocations: 0 / 443 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2744, allocations: 7.984 kB / 443 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.2769, allocations: 1.32 MB / 444.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2769, allocations: 0 / 444.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008476/0.2777, allocations: 172 kB / 444.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2777, allocations: 4 kB / 444.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.2778, allocations: 19.92 kB / 444.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2778, allocations: 4 kB / 444.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2778, allocations: 4.094 kB / 444.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2798, allocations: 0.9517 MB / 445.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.28, allocations: 136.9 kB / 445.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.28, allocations: 15.92 kB / 445.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.2804, allocations: 43.94 kB / 445.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.2805, allocations: 47.83 kB / 445.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2806, allocations: 19.98 kB / 445.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2807, allocations: 148.6 kB / 445.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2807, allocations: 0 / 445.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.2812, allocations: 80 kB / 445.9 MB, free: 6.242 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/0.2836, allocations: 1.505 MB / 447.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.2846, allocations: 360.2 kB / 447.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2846, allocations: 4 kB / 447.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.2853, allocations: 235.7 kB / 448 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.286, allocations: 67.5 kB / 448.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/0.2946, allocations: 3.871 MB / 451.9 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.2951, allocations: 0.7643 MB / 452.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.2953, allocations: 42.95 kB / 452.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.2955, allocations: 95.41 kB / 452.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2955, allocations: 0 / 452.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.3305, allocations: 7.226 MB / 460.1 MB, free: 7.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.407, allocations: 3.984 kB / 460.1 MB, free: 7.977 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.662265216000378] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoBacklash.phi_rel', 'elastoBacklash.w_rel', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.477121064002858 8.491885712 8.231614333 Calling exit ...