Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108.6 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 183.5 kB / 24.5 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 47.92 kB / 371.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 52.18 MB / 423.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004617/0.2407, allocations: 3.58 MB / 427 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2422, allocations: 0.8839 MB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.2424, allocations: 11.94 kB / 427.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2426, allocations: 79.17 kB / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.2428, allocations: 146.7 kB / 428.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.2432, allocations: 151.7 kB / 428.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.2438, allocations: 0.5996 MB / 428.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.2441, allocations: 138 kB / 429 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2444, allocations: 247.2 kB / 429.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.2447, allocations: 274.9 kB / 429.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.2448, allocations: 56 kB / 429.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.2449, allocations: 52 kB / 429.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.245, allocations: 115.6 kB / 429.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.2452, allocations: 270.7 kB / 430 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.2458, allocations: 0.6077 MB / 430.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2458, allocations: 0 / 430.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2458, allocations: 0 / 430.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2458, allocations: 0 / 430.6 MB, free: 7.438 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001565/0.2474, allocations: 0.7817 MB / 431.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2474, allocations: 12.03 kB / 431.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.513e-05/0.2474, allocations: 9.188 kB / 431.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.912e-05/0.2475, allocations: 86.72 kB / 431.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.2476, allocations: 60.59 kB / 431.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.2481, allocations: 273.1 kB / 431.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.2481, allocations: 33.38 kB / 431.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.2482, allocations: 52.33 kB / 431.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.2491, allocations: 450.3 kB / 432.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2491, allocations: 4 kB / 432.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2491, allocations: 23.94 kB / 432.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2491, allocations: 8 kB / 432.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2502, allocations: 459.7 kB / 432.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.2525, allocations: 1.344 MB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.2534, allocations: 0.4948 MB / 434.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.2542, allocations: 340 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.2542, allocations: 16.62 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.2543, allocations: 51.16 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.954e-06/0.2543, allocations: 0 / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007122/0.2614, allocations: 2.996 MB / 438 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2614, allocations: 64.41 kB / 438.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.2617, allocations: 252.2 kB / 438.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.2617, allocations: 41.7 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2619, allocations: 193.5 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.2621, allocations: 376.8 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.2624, allocations: 146.7 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2625, allocations: 358.8 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.2631, allocations: 273.8 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.2637, allocations: 349.3 kB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2649, allocations: 0.6273 MB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2649, allocations: 0 / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001469/0.2664, allocations: 0.7861 MB / 441.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2664, allocations: 7.938 kB / 441.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2664, allocations: 7.984 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2665, allocations: 4 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.2672, allocations: 207.7 kB / 441.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2672, allocations: 4 kB / 441.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.2676, allocations: 51.97 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2676, allocations: 31.98 kB / 441.8 MB, free: 12 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 (113): * Single equations (assignments): 113 * 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.0002461/0.2679, allocations: 197.6 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.268, allocations: 59.61 kB / 442 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.2682, allocations: 77.38 kB / 442.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2682, allocations: 8 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2682, allocations: 0 / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2682, allocations: 3.984 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.2712, allocations: 1.941 MB / 444.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2712, allocations: 4 kB / 444.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.272, allocations: 207.7 kB / 444.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.272, allocations: 12.53 kB / 444.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.2721, allocations: 23.98 kB / 444.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.2721, allocations: 16 kB / 444.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.2721, allocations: 11.88 kB / 444.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.2744, allocations: 1.373 MB / 445.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.2744, allocations: 55.72 kB / 445.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.2745, allocations: 23.94 kB / 445.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.2749, allocations: 47.95 kB / 445.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.275, allocations: 80.75 kB / 445.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.2751, allocations: 28 kB / 445.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.2753, allocations: 183.1 kB / 446.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2753, allocations: 3.938 kB / 446.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.2758, allocations: 156 kB / 446.3 MB, free: 7.309 MB / 350.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 (103): * Single equations (assignments): 103 * 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.0026/0.2784, allocations: 1.944 MB / 448.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.2798, allocations: 0.7035 MB / 448.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2798, allocations: 0 / 448.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.2805, allocations: 418.7 kB / 449.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.2813, allocations: 128.4 kB / 449.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008065/0.2894, allocations: 5.273 MB / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.2899, allocations: 0.8645 MB / 455.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.2902, allocations: 80.97 kB / 455.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2905, allocations: 199.4 kB / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2905, allocations: 0 / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.3274, allocations: 12.34 MB / 468.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.36, allocations: 13.3 kB / 468.2 MB, free: 1.254 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.629580626031384] 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'] 11.52826168196043 11.545244474 11.296050014 Calling exit ...