Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009877/0.0009877, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001373/0.001373, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8928/0.8928, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.206e-06/9.419e-06, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002909/0.002918, allocations: 3.34 MB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004101, allocations: 0.9198 MB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.004265, allocations: 19.88 kB / 328.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.004418, allocations: 83.16 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.004632, allocations: 178.3 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.004983, allocations: 159.6 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.005401, allocations: 0.6498 MB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.005591, allocations: 130 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.005942, allocations: 379.2 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.006132, allocations: 207.3 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.006181, allocations: 52 kB / 330.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.006255, allocations: 67.92 kB / 330.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.006312, allocations: 119.6 kB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.006427, allocations: 203.5 kB / 331 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.006839, allocations: 0.6347 MB / 331.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006841, allocations: 0 / 331.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006842, allocations: 0 / 331.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.006849, allocations: 0 / 331.6 MB, free: 8.762 MB / 298.7 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.0009303/0.007779, allocations: 0.7698 MB / 332.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.007813, allocations: 15.98 kB / 332.4 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.007885, allocations: 90.7 kB / 332.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.008027, allocations: 68.55 kB / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.008348, allocations: 289.4 kB / 332.8 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.008377, allocations: 45.06 kB / 332.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.008428, allocations: 47.95 kB / 332.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.008891, allocations: 422.4 kB / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.008907, allocations: 0 / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.008937, allocations: 23.98 kB / 333.4 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.008945, allocations: 19.94 kB / 333.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.00938, allocations: 387.7 kB / 333.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01085, allocations: 1.231 MB / 335 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.01137, allocations: 476.1 kB / 335.5 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.01176, allocations: 308.3 kB / 335.8 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.01179, allocations: 12.59 kB / 335.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.01181, allocations: 39.22 kB / 335.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.964e-06/0.01181, allocations: 0 / 335.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.003966/0.01578, allocations: 2.873 MB / 338.7 MB, free: 1.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.01582, allocations: 60.41 kB / 338.7 MB, free: 1.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01601, allocations: 284.5 kB / 339 MB, free: 1.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.01604, allocations: 41.7 kB / 339.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01615, allocations: 209.5 kB / 339.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.01633, allocations: 376.7 kB / 339.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.01646, allocations: 146.7 kB / 339.8 MB, free: 360 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01658, allocations: 362.8 kB / 340.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.01686, allocations: 249.9 kB / 340.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.01716, allocations: 309.4 kB / 340.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.01776, allocations: 0.5805 MB / 341.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01777, allocations: 0 / 341.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0009683/0.01873, allocations: 0.7315 MB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01875, allocations: 4 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01876, allocations: 4 kB / 342 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01877, allocations: 12.05 kB / 342 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.01915, allocations: 203.7 kB / 342.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.01915, allocations: 4 kB / 342.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.01929, allocations: 31.98 kB / 342.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.01932, allocations: 28 kB / 342.3 MB, free: 13.83 MB / 314.7 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.0001669/0.01948, allocations: 201.6 kB / 342.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.01954, allocations: 67.56 kB / 342.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.01962, allocations: 73.62 kB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.01963, allocations: 16 kB / 342.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.01964, allocations: 0 / 342.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01965, allocations: 3.984 kB / 342.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.02134, allocations: 1.793 MB / 344.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02134, allocations: 4 kB / 344.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.02172, allocations: 199.6 kB / 344.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.02173, allocations: 8 kB / 344.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.02176, allocations: 31.98 kB / 344.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.02176, allocations: 12.44 kB / 344.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.02177, allocations: 7.938 kB / 344.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.02288, allocations: 1.283 MB / 346 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.02294, allocations: 67.61 kB / 346 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.02298, allocations: 20 kB / 346 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.02314, allocations: 27.98 kB / 346.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.02322, allocations: 80.75 kB / 346.1 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.02324, allocations: 43.98 kB / 346.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.02335, allocations: 195.1 kB / 346.4 MB, free: 9.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02335, allocations: 0 / 346.4 MB, free: 9.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.02367, allocations: 156 kB / 346.5 MB, free: 9.363 MB / 314.7 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.001293/0.02496, allocations: 1.85 MB / 348.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009561/0.02592, allocations: 0.6411 MB / 349 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02592, allocations: 0 / 349 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.02628, allocations: 386.5 kB / 349.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.02676, allocations: 148.7 kB / 349.5 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.03108, allocations: 5.138 MB / 354.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.03124, allocations: 276.9 kB / 355 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.03145, allocations: 85.2 kB / 355 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.03167, allocations: 216.4 kB / 355.2 MB, free: 336 kB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03167, allocations: 0 / 355.2 MB, free: 336 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.05597, allocations: 13.55 MB / 368.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.23, allocations: 11.44 kB / 368.8 MB, free: 2.98 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.016725704073906] 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'] 7.316688914783299 7.328630368 7.319879567 Calling exit ...