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.0008749/0.0008749, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008338/0.0008338, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8676/0.8676, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.02463/0.02463, allocations: 6.478 MB / 266.4 MB, free: 6.844 MB / 250.7 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.245e-06/2.245e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.498e-05, allocations: 2.281 kB / 392.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.004709/0.004734, allocations: 4.81 MB / 397.7 MB, free: 388 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.007312, allocations: 2.29 MB / 400 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.007619, allocations: 15.94 kB / 400 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.00803, allocations: 222.4 kB / 400.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.00865, allocations: 345.7 kB / 400.6 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.009331, allocations: 0.5058 MB / 401.1 MB, free: 13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.01014, allocations: 1.071 MB / 402.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.01055, allocations: 328.5 kB / 402.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.01116, allocations: 0.6197 MB / 403.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.01151, allocations: 342.9 kB / 403.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.01161, allocations: 120 kB / 403.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.01187, allocations: 251.7 kB / 403.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.01206, allocations: 275.1 kB / 404.1 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.01227, allocations: 319.2 kB / 404.4 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.01338, allocations: 1.426 MB / 405.8 MB, free: 8.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01339, allocations: 3.938 kB / 405.8 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01339, allocations: 0 / 405.8 MB, free: 8.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.01341, allocations: 0 / 405.8 MB, free: 8.246 MB / 378.7 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.001569/0.01498, allocations: 1.294 MB / 407.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01501, allocations: 16.02 kB / 407.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.01515, allocations: 112.2 kB / 407.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.01584, allocations: 0.5792 MB / 407.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.01594, allocations: 110 kB / 407.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.01603, allocations: 76.31 kB / 408 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.01699, allocations: 0.9036 MB / 408.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.01701, allocations: 0 / 408.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.01706, allocations: 36 kB / 408.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.01707, allocations: 16 kB / 408.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.01785, allocations: 0.583 MB / 409.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.02015, allocations: 2.314 MB / 411.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.02078, allocations: 414.5 kB / 412.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.02103, allocations: 232.4 kB / 412.5 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.02107, allocations: 8.266 kB / 412.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.02146, allocations: 381.7 kB / 412.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.956e-06/0.02146, allocations: 0 / 412.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001396/0.02286, allocations: 0.7965 MB / 413.6 MB, free: 16 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.02295, allocations: 191.9 kB / 413.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.0236, allocations: 0.8008 MB / 414.6 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.02363, allocations: 33.7 kB / 414.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.02385, allocations: 428.3 kB / 415.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.02393, allocations: 134.9 kB / 415.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.02404, allocations: 106.3 kB / 415.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02416, allocations: 374.8 kB / 415.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.02446, allocations: 280.5 kB / 416 MB, free: 13.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.02483, allocations: 496.5 kB / 416.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.02545, allocations: 0.6257 MB / 417.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02546, allocations: 0 / 417.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008467/0.0263, allocations: 0.8005 MB / 417.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.02635, allocations: 93.53 kB / 418 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02636, allocations: 8 kB / 418 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.02648, allocations: 24.84 kB / 418 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.0267, allocations: 111.8 kB / 418.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006819/0.02738, allocations: 1.241 MB / 419.3 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.02761, allocations: 83.89 kB / 419.4 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.02764, allocations: 27.92 kB / 419.5 MB, free: 9.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004477/0.02809, allocations: 490.2 kB / 419.9 MB, free: 9.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003615/0.02845, allocations: 480.5 kB / 420.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005462/0.029, allocations: 0.5909 MB / 421 MB, free: 8.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.029, allocations: 4 kB / 421 MB, free: 8.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0007682/0.02977, allocations: 0.7733 MB / 421.8 MB, free: 7.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.02981, allocations: 89.11 kB / 421.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.02981, allocations: 4 kB / 421.9 MB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.04e-05/0.02987, allocations: 37.22 kB / 421.9 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.03007, allocations: 103.9 kB / 422 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005772/0.03064, allocations: 1.264 MB / 423.3 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.03086, allocations: 71.89 kB / 423.3 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.03089, allocations: 24 kB / 423.4 MB, free: 5.5 MB / 394.7 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.0001572/0.03104, allocations: 278.7 kB / 423.6 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.03111, allocations: 75.47 kB / 423.7 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.03181, allocations: 0.5979 MB / 424.3 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.03181, allocations: 4 kB / 424.3 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.03182, allocations: 0 / 424.3 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.03182, allocations: 3.984 kB / 424.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.03302, allocations: 1.209 MB / 425.5 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03302, allocations: 0 / 425.5 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.03319, allocations: 67.89 kB / 425.6 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.03324, allocations: 20.84 kB / 425.6 MB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.03326, allocations: 15.98 kB / 425.6 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005573/0.03382, allocations: 1.248 MB / 426.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.03382, allocations: 0 / 426.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.03479, allocations: 0.9527 MB / 427.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.03493, allocations: 115.5 kB / 427.9 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.03497, allocations: 19.98 kB / 428 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.03516, allocations: 39.95 kB / 428 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.03525, allocations: 39.88 kB / 428 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.03527, allocations: 12 kB / 428 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004608/0.03573, allocations: 0.5576 MB / 428.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03573, allocations: 0 / 428.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006266/0.03635, allocations: 378.7 kB / 429 MB, free: 15.6 MB / 410.7 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.001256/0.03761, allocations: 0.7709 MB / 429.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.039, allocations: 1.471 MB / 431.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.03901, allocations: 0 / 431.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.0394, allocations: 480.8 kB / 431.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.03982, allocations: 112.1 kB / 431.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.04156, allocations: 1.527 MB / 433.3 MB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.04183, allocations: 372.2 kB / 433.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.04194, allocations: 56.47 kB / 433.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04194, allocations: 0 / 433.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of Templates: time 0.1638/0.2058, allocations: 14.22 MB / 448 MB, free: 88.98 MB / 410.7 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.428276536054909] Failed to read output from testmodel.py, exit status != 0: 0.21088264882564545 0.21731672900000001 0.202504022 Calling exit ...