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.001452/0.001452, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001587/0.001587, allocations: 212 kB / 24.54 MB, free: 4.016 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001966/0.001966, allocations: 64.55 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003715/0.2788, allocations: 2.476 MB / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2803, allocations: 0.7756 MB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2805, allocations: 11.94 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2806, allocations: 39.58 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2808, allocations: 103.1 kB / 435.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.2812, allocations: 131.7 kB / 435.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.2817, allocations: 462.2 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.2819, allocations: 70.02 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.2822, allocations: 191.4 kB / 436.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.2825, allocations: 211.2 kB / 436.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.2826, allocations: 36 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.2826, allocations: 36 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.2827, allocations: 91.73 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.2829, allocations: 179.2 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.2834, allocations: 415.3 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2834, allocations: 0 / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2834, allocations: 0 / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.2834, allocations: 0 / 437.1 MB, free: 1.664 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.001539/0.285, allocations: 0.6144 MB / 437.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.285, allocations: 8.031 kB / 437.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.2851, allocations: 58.73 kB / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.2852, allocations: 40.75 kB / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.2856, allocations: 221.9 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.2858, allocations: 139.4 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.2858, allocations: 24 kB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009183/0.2867, allocations: 382.4 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.2868, allocations: 4 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2868, allocations: 11.98 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2868, allocations: 8 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.288, allocations: 395.6 kB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2894, allocations: 0.9302 MB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2904, allocations: 395.5 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.291, allocations: 210.4 kB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.2911, allocations: 4 kB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.2911, allocations: 34.5 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.2911, allocations: 0 / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00469/0.2958, allocations: 1.885 MB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.2959, allocations: 110.8 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.2961, allocations: 203.1 kB / 442.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.2962, allocations: 37.7 kB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2964, allocations: 144.8 kB / 442.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2965, allocations: 146.7 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2966, allocations: 79 kB / 443.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2968, allocations: 338.8 kB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.2971, allocations: 108.8 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2975, allocations: 161.5 kB / 443.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.2981, allocations: 296.6 kB / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2981, allocations: 0 / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008553/0.299, allocations: 380.6 kB / 444.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.299, allocations: 4 kB / 444.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.299, allocations: 0 / 444.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.299, allocations: 4 kB / 444.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.2998, allocations: 151.8 kB / 444.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2998, allocations: 4 kB / 444.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3, allocations: 23.98 kB / 444.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3, allocations: 20 kB / 444.6 MB, free: 9.727 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.0002034/0.3002, allocations: 145.8 kB / 444.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.3003, allocations: 31.75 kB / 444.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.3004, allocations: 33.47 kB / 444.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3004, allocations: 7.984 kB / 444.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3004, allocations: 0 / 444.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3004, allocations: 0 / 444.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.3029, allocations: 1.302 MB / 446.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3029, allocations: 4 kB / 446.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.3037, allocations: 168 kB / 446.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3037, allocations: 4 kB / 446.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.3037, allocations: 15.94 kB / 446.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.3037, allocations: 12 kB / 446.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3037, allocations: 0 / 446.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.3058, allocations: 0.956 MB / 447.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3059, allocations: 55.83 kB / 447.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.306, allocations: 11.94 kB / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.3064, allocations: 47.95 kB / 447.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3065, allocations: 47.8 kB / 447.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3066, allocations: 16 kB / 447.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3067, allocations: 148.6 kB / 447.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3067, allocations: 4 kB / 447.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.3072, allocations: 80 kB / 447.7 MB, free: 6.516 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.002432/0.3096, allocations: 1.493 MB / 449.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3107, allocations: 358.5 kB / 449.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3107, allocations: 4 kB / 449.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.3114, allocations: 244 kB / 449.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.3121, allocations: 69.22 kB / 449.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.3209, allocations: 3.871 MB / 453.7 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.3214, allocations: 0.7682 MB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.3217, allocations: 34.97 kB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.3219, allocations: 99.39 kB / 454.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 1.522e-06/0.3219, allocations: 0 / 454.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.361, allocations: 7.431 MB / 462 MB, free: 8.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.886, allocations: 17.66 kB / 462 MB, free: 8.055 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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: 11.213077383115888] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoBacklash.phi_rel', 'elastoBacklash.w_rel', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.958079805132002 8.973718758 8.686847697 Calling exit ...