Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.001397/0.001397, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001631/0.001631, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 59.91 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.256, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004127/0.2601, allocations: 2.239 MB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2617, allocations: 0.814 MB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2618, allocations: 11.94 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2621, allocations: 47.58 kB / 434.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.2624, allocations: 103.3 kB / 434.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2626, allocations: 83.83 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.263, allocations: 275.4 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2631, allocations: 44.52 kB / 434.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.2634, allocations: 131.6 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.2636, allocations: 115.4 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2636, allocations: 20 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2638, allocations: 79.97 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.2639, allocations: 55.83 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.264, allocations: 95.58 kB / 435.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.2644, allocations: 320.4 kB / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2644, allocations: 0 / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2644, allocations: 0 / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2644, allocations: 0 / 435.5 MB, free: 2.008 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008612/0.2653, allocations: 489.2 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2653, allocations: 11.98 kB / 436 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.2654, allocations: 54.73 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.2655, allocations: 32.78 kB / 436.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.2659, allocations: 190.8 kB / 436.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.2659, allocations: 16.75 kB / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2659, allocations: 24.33 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.2663, allocations: 222.5 kB / 436.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2664, allocations: 4 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.2664, allocations: 8 kB / 436.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.2664, allocations: 4 kB / 436.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.2667, allocations: 151.3 kB / 436.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2679, allocations: 0.6741 MB / 437.4 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.2684, allocations: 134.7 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2685, allocations: 72.83 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2685, allocations: 4.344 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2686, allocations: 30.56 kB / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.2686, allocations: 0 / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001912/0.2705, allocations: 0.7774 MB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.2705, allocations: 63.33 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.2708, allocations: 218.7 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2709, allocations: 29.7 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.271, allocations: 140.5 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.271, allocations: 75.38 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.2711, allocations: 53.69 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2713, allocations: 326.8 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2715, allocations: 75.91 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2717, allocations: 107.4 kB / 439.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.272, allocations: 163.9 kB / 439.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.272, allocations: 4 kB / 439.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005183/0.2725, allocations: 262.2 kB / 439.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2725, allocations: 4 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2725, allocations: 4 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.2727, allocations: 60.89 kB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2729, allocations: 39.92 kB / 440 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.2749, allocations: 1.696 MB / 441.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2751, allocations: 24.02 kB / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2751, allocations: 8 kB / 441.7 MB, free: 11.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.2753, allocations: 144.5 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.2754, allocations: 31.83 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.2755, allocations: 25.97 kB / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2755, allocations: 0 / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2755, allocations: 3.938 kB / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2755, allocations: 3.984 kB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.2764, allocations: 0.5471 MB / 442.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2764, allocations: 4 kB / 442.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2766, allocations: 31.97 kB / 442.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.2768, allocations: 60.75 kB / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2768, allocations: 7.938 kB / 442.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.2785, allocations: 1.55 MB / 444.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2785, allocations: 0 / 444.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.2792, allocations: 426.2 kB / 444.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.2793, allocations: 31.92 kB / 444.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.2793, allocations: 12 kB / 444.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2795, allocations: 19.97 kB / 444.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.2796, allocations: 67.89 kB / 444.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2796, allocations: 8 kB / 444.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2798, allocations: 156.6 kB / 444.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2798, allocations: 0 / 444.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.2802, allocations: 68 kB / 444.9 MB, free: 8.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002332/0.2825, allocations: 1.236 MB / 446.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006744/0.2832, allocations: 318.7 kB / 446.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2832, allocations: 0 / 446.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.2836, allocations: 222.5 kB / 446.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.284, allocations: 42.97 kB / 446.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.2877, allocations: 2.677 MB / 449.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2878, allocations: 138.2 kB / 449.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2879, allocations: 29.94 kB / 449.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.2881, allocations: 67.41 kB / 449.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2881, allocations: 0 / 449.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.3288, allocations: 6.956 MB / 456.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.08, allocations: 0 / 456.6 MB, free: 12.36 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 52.5] Could not SIGINT process: 2252519. Could not SIGINT process: 2252520. Could not SIGINT process: 2252523. Could not SIGINT process: 2247326. [Calling os._exit(0), Time elapsed: 69.07887807814404] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaIn.phi', 'inertiaIn.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel'] 13.253822931088507 13.269330497 13.001607302 Calling exit ...