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.001263/0.001263, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001432/0.001432, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.444/1.444, allocations: 230.4 MB / 254.7 MB, free: 15 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.001874/0.001874, allocations: 67.88 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1132, allocations: 53.3 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003803/0.117, allocations: 2.474 MB / 429.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1184, allocations: 0.7678 MB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1185, allocations: 8 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.1187, allocations: 47.52 kB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1189, allocations: 103.1 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1192, allocations: 119.8 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.1197, allocations: 466.2 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1199, allocations: 64.92 kB / 430.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1201, allocations: 191.4 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1204, allocations: 207.2 kB / 431.3 MB, free: 428 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.1205, allocations: 36 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1205, allocations: 43.94 kB / 431.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1207, allocations: 79.8 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1208, allocations: 187.2 kB / 431.6 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2191/0.34, allocations: 412 kB / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.34, allocations: 0.625 kB / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.34, allocations: 0 / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.34, allocations: 1.188 kB / 432 MB, free: 8.117 MB / 350.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.001416/0.3414, allocations: 0.6849 MB / 432.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3414, allocations: 9.844 kB / 432.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.3415, allocations: 63.73 kB / 432.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.3416, allocations: 39.09 kB / 432.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.342, allocations: 269.9 kB / 433.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.684e-05/0.3421, allocations: 82.3 kB / 433.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.3421, allocations: 34.34 kB / 433.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.3429, allocations: 379.2 kB / 433.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.343, allocations: 10.28 kB / 433.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.343, allocations: 10 kB / 433.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.343, allocations: 6.344 kB / 433.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.344, allocations: 387.5 kB / 434 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3451, allocations: 0.969 MB / 434.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3462, allocations: 392.4 kB / 435.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.3468, allocations: 212.2 kB / 435.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.3468, allocations: 3.531 kB / 435.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3468, allocations: 39.81 kB / 435.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.3468, allocations: 0.625 kB / 435.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004642/0.3514, allocations: 2.333 MB / 437.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3515, allocations: 107.3 kB / 438 MB, free: 5.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3517, allocations: 206.5 kB / 438.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3517, allocations: 30.3 kB / 438.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.3518, allocations: 153.5 kB / 438.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/0.3519, allocations: 138 kB / 438.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.352, allocations: 75.53 kB / 438.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.3521, allocations: 343.5 kB / 438.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3524, allocations: 106.1 kB / 439 MB, free: 4.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3528, allocations: 172.9 kB / 439.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.3534, allocations: 290.9 kB / 439.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3534, allocations: 1.094 kB / 439.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008418/0.3542, allocations: 368.9 kB / 439.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3542, allocations: 9.656 kB / 439.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3542, allocations: 1.406 kB / 439.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3542, allocations: 4.531 kB / 439.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.3549, allocations: 147.4 kB / 440 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3549, allocations: 3.25 kB / 440 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3552, allocations: 31.83 kB / 440 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3552, allocations: 9.875 kB / 440.1 MB, free: 4.316 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.000122/0.3553, allocations: 146.1 kB / 440.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.3554, allocations: 34.16 kB / 440.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.3554, allocations: 37.23 kB / 440.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3554, allocations: 4.719 kB / 440.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3555, allocations: 1.125 kB / 440.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3555, allocations: 4.25 kB / 440.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3576, allocations: 1.331 MB / 441.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3576, allocations: 3.125 kB / 441.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.3585, allocations: 171 kB / 441.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.3585, allocations: 9.312 kB / 441.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3585, allocations: 16.62 kB / 441.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.3585, allocations: 8.375 kB / 441.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3585, allocations: 3.188 kB / 441.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3604, allocations: 0.9459 MB / 442.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3606, allocations: 134 kB / 442.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.3606, allocations: 10.09 kB / 442.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.361, allocations: 54.5 kB / 443 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3612, allocations: 40.22 kB / 443 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.3612, allocations: 12.61 kB / 443 MB, free: 2.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3613, allocations: 158.8 kB / 443.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 0 / 443.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.3618, allocations: 82.91 kB / 443.2 MB, free: 2.539 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.001963/0.3638, allocations: 1.502 MB / 444.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.3647, allocations: 355.9 kB / 445.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3647, allocations: 0 / 445.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.3653, allocations: 243 kB / 445.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.366, allocations: 74.36 kB / 445.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.3737, allocations: 3.864 MB / 449.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3741, allocations: 0.7673 MB / 450 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3743, allocations: 45.28 kB / 450.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3745, allocations: 95.39 kB / 450.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3745, allocations: 1.094 kB / 450.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4068, allocations: 7.208 MB / 457.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.616, allocations: 5.469 kB / 457.4 MB, free: 12.03 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: 10.915687153115869] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoBacklash.phi_rel', 'elastoBacklash.w_rel', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.684000623878092 8.696718571 8.354061767 Calling exit ...