Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.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.001317/0.001317, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00148/0.00148, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",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.001987/0.001987, allocations: 60.78 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005335/0.3257, allocations: 3.684 MB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.3282, allocations: 0.9587 MB / 436.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.3286, allocations: 15.88 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3288, allocations: 83.16 kB / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.3292, allocations: 166.5 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.3298, allocations: 163.7 kB / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007866/0.3306, allocations: 0.6306 MB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3309, allocations: 142 kB / 437.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3313, allocations: 259.1 kB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.3317, allocations: 282.8 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.3318, allocations: 56 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3319, allocations: 56 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.332, allocations: 123.5 kB / 438.5 MB, free: 296 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.3323, allocations: 286.6 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.3331, allocations: 0.6233 MB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3331, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3331, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3331, allocations: 0 / 439.4 MB, free: 15.38 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001567/0.3347, allocations: 0.7815 MB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3347, allocations: 12.03 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.3348, allocations: 82.7 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.335, allocations: 72.55 kB / 440.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3356, allocations: 289.5 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.3356, allocations: 37 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.3357, allocations: 55.95 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.3365, allocations: 418.4 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.3365, allocations: 4 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.3366, allocations: 20 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3366, allocations: 12 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.3373, allocations: 391.7 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.3398, allocations: 1.344 MB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.3407, allocations: 479.2 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.3413, allocations: 316.1 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.3414, allocations: 16.62 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3414, allocations: 43.16 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.855e-06/0.3414, allocations: 0 / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00651/0.3479, allocations: 2.861 MB / 446.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.348, allocations: 64.41 kB / 446.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3483, allocations: 276.5 kB / 446.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.3484, allocations: 53.58 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3486, allocations: 205.6 kB / 447.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3489, allocations: 376.7 kB / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.3491, allocations: 154.7 kB / 447.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3494, allocations: 366.8 kB / 448.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.3498, allocations: 237.9 kB / 448.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.3503, allocations: 313.4 kB / 448.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3514, allocations: 0.5844 MB / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3514, allocations: 0 / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001349/0.3527, allocations: 0.7315 MB / 449.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3527, allocations: 8 kB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3528, allocations: 0 / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3528, allocations: 7.938 kB / 449.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.3535, allocations: 199.7 kB / 450.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.3536, allocations: 4 kB / 450.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3539, allocations: 32.05 kB / 450.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.3539, allocations: 35.98 kB / 450.2 MB, free: 4.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0003227/0.3543, allocations: 209.5 kB / 450.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3544, allocations: 59.67 kB / 450.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.3546, allocations: 77.62 kB / 450.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3546, allocations: 8 kB / 450.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.3546, allocations: 0 / 450.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3546, allocations: 7.984 kB / 450.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.3577, allocations: 1.903 MB / 452.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3577, allocations: 4 kB / 452.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.3585, allocations: 195.7 kB / 452.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.3585, allocations: 8 kB / 452.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.3585, allocations: 31.98 kB / 452.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.3585, allocations: 8 kB / 452.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3585, allocations: 7.938 kB / 452.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3605, allocations: 1.295 MB / 454 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.3606, allocations: 59.56 kB / 454 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.3606, allocations: 27.98 kB / 454.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.361, allocations: 32.11 kB / 454.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3611, allocations: 80.75 kB / 454.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.3612, allocations: 36 kB / 454.2 MB, free: 112 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.3614, allocations: 199.1 kB / 454.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 454.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.362, allocations: 160 kB / 454.6 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * 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.002381/0.3644, allocations: 1.873 MB / 456.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3656, allocations: 0.6293 MB / 457.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3656, allocations: 0 / 457.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.3663, allocations: 393.6 kB / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.3671, allocations: 137.6 kB / 457.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007562/0.3746, allocations: 5.258 MB / 462.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.3752, allocations: 0.8841 MB / 463.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.3756, allocations: 85.2 kB / 463.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.3759, allocations: 211.4 kB / 464 MB, free: 5.984 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3759, allocations: 0 / 464 MB, free: 5.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.4235, allocations: 12.95 MB / 477 MB, free: 9.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.057/9.48, allocations: 2.75 kB / 477 MB, free: 9.211 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.001515191979706] Failed to read output from testmodel.py, exit status != 0: ['time', 'friction.v_rel', 'innerContactA.s_rel', 'innerContactB.s_rel', 'outerContactA.v_rel', 'outerContactB.s_rel', 'outerContactB.v_rel'] 9.562240985687822 9.589282939 9.25112441 Calling exit ...