Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001539/0.001539, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.002107/0.002107, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.02808/0.02808, allocations: 6.491 MB / 267.5 MB, free: 6.449 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.323e-05, allocations: 2.312 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.01135/0.01138, allocations: 4.345 MB / 343.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.01484, allocations: 2.373 MB / 346 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.01522, allocations: 15.94 kB / 346 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.01591, allocations: 170.6 kB / 346.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.0165, allocations: 293.8 kB / 346.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.0171, allocations: 423.2 kB / 346.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.01798, allocations: 0.9854 MB / 347.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.0184, allocations: 341 kB / 348.2 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.01902, allocations: 0.5769 MB / 348.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.01942, allocations: 331.1 kB / 349.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.01952, allocations: 108 kB / 349.2 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.01969, allocations: 139.9 kB / 349.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.01987, allocations: 259.1 kB / 349.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.02011, allocations: 311.2 kB / 349.9 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.0208, allocations: 0.7124 MB / 350.6 MB, free: 168 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.0208, allocations: 0 / 350.6 MB, free: 168 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02081, allocations: 0 / 350.6 MB, free: 168 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.02081, allocations: 8 kB / 350.6 MB, free: 160 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001237/0.02205, allocations: 1.276 MB / 351.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.02208, allocations: 12.03 kB / 351.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.02223, allocations: 164.3 kB / 352.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.0227, allocations: 486 kB / 352.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.02275, allocations: 58.38 kB / 352.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.02282, allocations: 80.33 kB / 352.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.02371, allocations: 0.6389 MB / 353.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.02373, allocations: 7.938 kB / 353.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.02377, allocations: 32 kB / 353.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.02378, allocations: 16 kB / 353.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.02408, allocations: 265.1 kB / 353.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.02621, allocations: 2.269 MB / 355.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.02656, allocations: 265.6 kB / 356.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.02667, allocations: 128.2 kB / 356.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.0267, allocations: 8 kB / 356.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.02695, allocations: 297.1 kB / 356.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.02695, allocations: 0 / 356.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006493/0.0276, allocations: 0.5202 MB / 357.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.02765, allocations: 136.5 kB / 357.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.028, allocations: 0.5022 MB / 357.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.02803, allocations: 37.7 kB / 357.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.02826, allocations: 466.9 kB / 358.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.02833, allocations: 119 kB / 358.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02844, allocations: 111.7 kB / 358.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.0286, allocations: 0.5429 MB / 359 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.02872, allocations: 158.7 kB / 359.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.02891, allocations: 346.6 kB / 359.5 MB, free: 6.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.02921, allocations: 448.8 kB / 360 MB, free: 6.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02921, allocations: 3.938 kB / 360 MB, free: 6.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007369/0.02995, allocations: 0.5555 MB / 360.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.02999, allocations: 89.09 kB / 360.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.03, allocations: 4 kB / 360.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.123e-05/0.03009, allocations: 23.67 kB / 360.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.03029, allocations: 95.83 kB / 360.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007374/0.03103, allocations: 1.725 MB / 362.4 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.03121, allocations: 55.72 kB / 362.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.03124, allocations: 23.98 kB / 362.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002037/0.03144, allocations: 276.9 kB / 362.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001983/0.03164, allocations: 338.6 kB / 363.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003006/0.03194, allocations: 451 kB / 363.6 MB, free: 2.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.03194, allocations: 4 kB / 363.6 MB, free: 2.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000454/0.0324, allocations: 0.5454 MB / 364.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.03244, allocations: 92.05 kB / 364.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.03244, allocations: 7.984 kB / 364.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.018e-05/0.0325, allocations: 31.61 kB / 364.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.03268, allocations: 87.89 kB / 364.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.03333, allocations: 1.732 MB / 366.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.0335, allocations: 51.89 kB / 366.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.03352, allocations: 23.98 kB / 366.1 MB, free: 15.41 MB / 346.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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0001519/0.03367, allocations: 358.1 kB / 366.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.03374, allocations: 75.62 kB / 366.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.03416, allocations: 404.9 kB / 367 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.03417, allocations: 4 kB / 367 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.03417, allocations: 4 kB / 367 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.03417, allocations: 3.984 kB / 367 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.03531, allocations: 0.8956 MB / 367.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.03531, allocations: 0 / 367.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.03547, allocations: 55.91 kB / 367.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.03553, allocations: 19.67 kB / 367.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.03555, allocations: 12 kB / 367.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006519/0.0362, allocations: 1.713 MB / 369.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0362, allocations: 4 kB / 369.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.03673, allocations: 0.6742 MB / 370.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.03678, allocations: 59.55 kB / 370.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.03683, allocations: 8 kB / 370.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.03698, allocations: 40.03 kB / 370.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.03704, allocations: 31.94 kB / 370.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.03706, allocations: 12 kB / 370.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.03725, allocations: 314.7 kB / 370.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03725, allocations: 0 / 370.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005889/0.03784, allocations: 334.8 kB / 371.1 MB, free: 10.13 MB / 346.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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0007312/0.03857, allocations: 351.6 kB / 371.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000908/0.03948, allocations: 1.263 MB / 372.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.03948, allocations: 0 / 372.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.03976, allocations: 455.5 kB / 373.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.04012, allocations: 93.8 kB / 373.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.04193, allocations: 1.246 MB / 374.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.353e-05/0.04202, allocations: 153.7 kB / 374.7 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.04218, allocations: 63.34 kB / 374.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.04241, allocations: 174.2 kB / 374.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04241, allocations: 0 / 374.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of Templates: time 0.01154/0.05395, allocations: 8.247 MB / 383.1 MB, free: 14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1637076660990715]