Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 80.05 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 165.9 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04163/0.04163, allocations: 6.494 MB / 265.7 MB, free: 10.27 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 392.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.994e-05, allocations: 2.281 kB / 392.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.007851/0.007881, allocations: 4.817 MB / 397 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.01266, allocations: 2.29 MB / 399.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.01326, allocations: 27.88 kB / 399.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.01398, allocations: 222.3 kB / 399.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.01501, allocations: 341.7 kB / 399.8 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01623, allocations: 0.5065 MB / 400.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.01754, allocations: 1.067 MB / 401.4 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.01814, allocations: 324.6 kB / 401.7 MB, free: 88 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008976/0.01904, allocations: 0.6197 MB / 402.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.01957, allocations: 350.9 kB / 402.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.01972, allocations: 116 kB / 402.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.02023, allocations: 247.8 kB / 403.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.02054, allocations: 275.1 kB / 403.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.02099, allocations: 323.2 kB / 403.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.02278, allocations: 1.418 MB / 405.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.02278, allocations: 4 kB / 405.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02278, allocations: 0 / 405.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.0228, allocations: 0 / 405.1 MB, free: 12.75 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002529/0.02533, allocations: 1.294 MB / 406.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.02538, allocations: 16.02 kB / 406.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.02559, allocations: 108.3 kB / 406.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.02667, allocations: 0.5792 MB / 407.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.02684, allocations: 106 kB / 407.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.02696, allocations: 80.33 kB / 407.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.02864, allocations: 0.9036 MB / 408.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.02867, allocations: 0 / 408.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.02874, allocations: 28 kB / 408.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.02876, allocations: 16 kB / 408.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.03023, allocations: 0.583 MB / 408.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.03423, allocations: 2.318 MB / 411.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.03539, allocations: 437 kB / 411.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.03601, allocations: 220.5 kB / 411.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/0.03607, allocations: 16.27 kB / 411.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007901/0.03686, allocations: 377.5 kB / 412.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 4.769e-06/0.03686, allocations: 3.984 kB / 412.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002213/0.03907, allocations: 0.7928 MB / 412.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.03925, allocations: 191.9 kB / 413.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.04053, allocations: 0.8008 MB / 413.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.04059, allocations: 41.7 kB / 413.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.04098, allocations: 428.4 kB / 414.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.04111, allocations: 126.9 kB / 414.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.0413, allocations: 110.3 kB / 414.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.04153, allocations: 378.8 kB / 415 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.04213, allocations: 280.5 kB / 415.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.04285, allocations: 0.4888 MB / 415.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.04399, allocations: 0.6143 MB / 416.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.044, allocations: 0 / 416.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001718/0.04571, allocations: 0.8007 MB / 417.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.04581, allocations: 97.03 kB / 417.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.04582, allocations: 7.938 kB / 417.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.04601, allocations: 33.28 kB / 417.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.04644, allocations: 103.9 kB / 417.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.04764, allocations: 1.244 MB / 418.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.04815, allocations: 83.8 kB / 418.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.0482, allocations: 23.98 kB / 418.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000907/0.04911, allocations: 482.4 kB / 419.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008301/0.04994, allocations: 480.6 kB / 419.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001107/0.05105, allocations: 0.5947 MB / 420.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.05105, allocations: 3.984 kB / 420.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001531/0.05258, allocations: 0.7733 MB / 421 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.05267, allocations: 97.09 kB / 421.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.05267, allocations: 0 / 421.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.05277, allocations: 28.78 kB / 421.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.05327, allocations: 108.2 kB / 421.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.05448, allocations: 1.264 MB / 422.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.05496, allocations: 71.73 kB / 422.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.05501, allocations: 24.16 kB / 422.6 MB, free: 9.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.05534, allocations: 284.3 kB / 422.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.05547, allocations: 75.47 kB / 423 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.0569, allocations: 0.5902 MB / 423.6 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.0569, allocations: 8 kB / 423.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.05691, allocations: 0 / 423.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.05691, allocations: 7.984 kB / 423.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.05923, allocations: 1.197 MB / 424.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.05923, allocations: 0 / 424.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.05958, allocations: 71.89 kB / 424.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.163e-05/0.05967, allocations: 24.84 kB / 424.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.0597, allocations: 11.98 kB / 424.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.0608, allocations: 1.24 MB / 426.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0608, allocations: 4.156 kB / 426.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.06271, allocations: 0.9604 MB / 427.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.06296, allocations: 115.5 kB / 427.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.06304, allocations: 19.92 kB / 427.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.06347, allocations: 39.95 kB / 427.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.06359, allocations: 35.94 kB / 427.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.06363, allocations: 16 kB / 427.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008538/0.06448, allocations: 0.5576 MB / 427.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06448, allocations: 0 / 427.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001311/0.06579, allocations: 374.8 kB / 428.2 MB, free: 4.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003072/0.06887, allocations: 0.7699 MB / 429 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.07168, allocations: 1.47 MB / 430.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.07168, allocations: 0 / 430.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.07252, allocations: 477.8 kB / 430.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.07329, allocations: 107.5 kB / 431 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.07647, allocations: 1.497 MB / 432.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.07703, allocations: 380.1 kB / 432.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.07735, allocations: 80.34 kB / 433 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.07751, allocations: 52.48 kB / 433 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.07751, allocations: 0 / 433 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.0216/0.09911, allocations: 9.434 MB / 442.5 MB, free: 6.012 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.015360027551651] Failed to read output from testmodel.py, exit status != 0: 0.10841001942753792 0.33097964 0.30513200900000004 Calling exit ...