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.001668/0.001668, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002005/0.002005, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.002889/0.002889, allocations: 68.75 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2603, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004092/0.2644, allocations: 2.478 MB / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.266, allocations: 0.7756 MB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2662, allocations: 7.938 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2664, allocations: 43.58 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.2667, allocations: 107.1 kB / 435.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.2671, allocations: 131.7 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.2677, allocations: 458.2 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2679, allocations: 69.08 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.2682, allocations: 195.4 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.2685, allocations: 211.3 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.2686, allocations: 36 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.2687, allocations: 36 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.2688, allocations: 87.73 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.269, allocations: 179.2 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.2695, allocations: 415.3 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2695, allocations: 0 / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2696, allocations: 0 / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2696, allocations: 0 / 437.1 MB, free: 1.68 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.001778/0.2713, allocations: 0.6183 MB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2714, allocations: 8.031 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.616e-05/0.2715, allocations: 58.73 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.2715, allocations: 36.75 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.272, allocations: 217.9 kB / 438 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.2722, allocations: 143.4 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.2723, allocations: 24 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.2732, allocations: 374.4 kB / 438.6 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.2732, allocations: 8 kB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2732, allocations: 12 kB / 438.6 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2733, allocations: 4 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.2744, allocations: 399.5 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.2759, allocations: 0.9341 MB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2769, allocations: 391.6 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.2775, allocations: 206.4 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.2776, allocations: 8 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2776, allocations: 42.48 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.2776, allocations: 0 / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.0047/0.2823, allocations: 1.877 MB / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.2824, allocations: 110.8 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2826, allocations: 207.2 kB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.2827, allocations: 33.7 kB / 442.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2828, allocations: 148.8 kB / 442.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.2829, allocations: 146.7 kB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.2831, allocations: 74.06 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2832, allocations: 338.8 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2836, allocations: 108.8 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.2839, allocations: 169.5 kB / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.2846, allocations: 295.7 kB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2846, allocations: 4 kB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008709/0.2854, allocations: 368.7 kB / 444.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2855, allocations: 4 kB / 444.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2855, allocations: 4.094 kB / 444.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2855, allocations: 4 kB / 444.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.2862, allocations: 151.8 kB / 444.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2862, allocations: 4 kB / 444.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.2865, allocations: 23.98 kB / 444.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2865, allocations: 16 kB / 444.6 MB, free: 9.746 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.0001928/0.2867, allocations: 153.7 kB / 444.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2868, allocations: 31.75 kB / 444.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.2869, allocations: 33.47 kB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2869, allocations: 7.984 kB / 444.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2869, allocations: 0 / 444.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2869, allocations: 0 / 444.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.2893, allocations: 1.303 MB / 446.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.2893, allocations: 4 kB / 446.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.2902, allocations: 164 kB / 446.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.2902, allocations: 4 kB / 446.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.2902, allocations: 19.94 kB / 446.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2902, allocations: 4 kB / 446.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2902, allocations: 0 / 446.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.2923, allocations: 0.9599 MB / 447.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.2924, allocations: 55.81 kB / 447.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.2925, allocations: 11.94 kB / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.2929, allocations: 51.95 kB / 447.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.293, allocations: 47.8 kB / 447.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.293, allocations: 12 kB / 447.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.2932, allocations: 148.6 kB / 447.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2932, allocations: 0 / 447.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.2936, allocations: 84 kB / 447.6 MB, free: 6.531 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.00238/0.296, allocations: 1.497 MB / 449.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2971, allocations: 362.6 kB / 449.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2971, allocations: 0 / 449.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.2978, allocations: 236 kB / 449.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.2986, allocations: 71.53 kB / 449.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/0.3077, allocations: 3.875 MB / 453.7 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3082, allocations: 0.7682 MB / 454.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.3084, allocations: 34.97 kB / 454.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3086, allocations: 99.39 kB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3086, allocations: 0 / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.3436, allocations: 7.44 MB / 462 MB, free: 8.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.887, allocations: 5.688 kB / 462 MB, free: 8.07 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.372463229577988] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoBacklash.phi_rel', 'elastoBacklash.w_rel', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.964768308214843 8.985224365 8.711193311 Calling exit ...