Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.0007869/0.0007869, allocations: 76.55 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.0007919/0.0007919, allocations: 181.9 kB / 23.22 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.9056/0.9056, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02633/0.02633, allocations: 6.475 MB / 266.4 MB, free: 6.832 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.907e-06/3.907e-06, allocations: 0 / 392.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.705e-05, allocations: 4.953 kB / 392.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.006303/0.00634, allocations: 4.833 MB / 397.7 MB, free: 328 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.009174, allocations: 1.605 MB / 399.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.009769, allocations: 19.88 kB / 399.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.01027, allocations: 198.6 kB / 399.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.01133, allocations: 297.8 kB / 399.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.01245, allocations: 383.3 kB / 400.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.01324, allocations: 0.9935 MB / 401.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.01369, allocations: 336.5 kB / 401.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.01427, allocations: 0.5807 MB / 402.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.01458, allocations: 319 kB / 402.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.01466, allocations: 108 kB / 402.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01484, allocations: 155.8 kB / 402.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.01498, allocations: 215.3 kB / 402.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.01519, allocations: 299.2 kB / 403.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.01641, allocations: 1.165 MB / 404.4 MB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01641, allocations: 0 / 404.4 MB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01641, allocations: 0 / 404.4 MB, free: 9.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.01642, allocations: 0 / 404.4 MB, free: 9.652 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001387/0.01781, allocations: 1.157 MB / 405.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.01785, allocations: 8.031 kB / 405.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.01797, allocations: 100.3 kB / 405.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.01856, allocations: 463.3 kB / 406.1 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.01867, allocations: 110 kB / 406.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.01875, allocations: 72.38 kB / 406.3 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009688/0.01972, allocations: 0.8491 MB / 407.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.01974, allocations: 3.953 kB / 407.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.01979, allocations: 39.98 kB / 407.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.0198, allocations: 16 kB / 407.2 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008196/0.02062, allocations: 0.5928 MB / 407.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.02296, allocations: 2.218 MB / 410 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.02366, allocations: 422.5 kB / 410.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.02422, allocations: 236.4 kB / 410.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.02426, allocations: 8.281 kB / 410.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.02469, allocations: 389.6 kB / 411 MB, free: 2.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.0247, allocations: 4 kB / 411 MB, free: 2.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001164/0.02586, allocations: 0.7889 MB / 411.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.02594, allocations: 144.5 kB / 411.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.02641, allocations: 0.5175 MB / 412.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.02644, allocations: 33.7 kB / 412.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.02667, allocations: 396.3 kB / 412.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.02675, allocations: 126.9 kB / 413 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02686, allocations: 98.14 kB / 413.1 MB, free: 500 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.02697, allocations: 362.8 kB / 413.5 MB, free: 128 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.02728, allocations: 271.8 kB / 413.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.02763, allocations: 421.4 kB / 414.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.02823, allocations: 0.5998 MB / 414.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02823, allocations: 0 / 414.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008674/0.0291, allocations: 0.7629 MB / 415.5 MB, free: 13.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.02916, allocations: 93.09 kB / 415.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.02917, allocations: 11.94 kB / 415.6 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.02931, allocations: 28.78 kB / 415.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.02954, allocations: 99.88 kB / 415.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008171/0.03036, allocations: 1.249 MB / 417 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.03061, allocations: 83.78 kB / 417.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.03064, allocations: 20 kB / 417.1 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000728/0.03137, allocations: 442 kB / 417.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003234/0.03169, allocations: 397.4 kB / 417.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005509/0.03224, allocations: 0.5865 MB / 418.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.03224, allocations: 0 / 418.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007346/0.03298, allocations: 0.7417 MB / 419.2 MB, free: 9.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.03302, allocations: 93.09 kB / 419.3 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.03303, allocations: 4 kB / 419.3 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-05/0.03309, allocations: 29.28 kB / 419.3 MB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.03328, allocations: 91.83 kB / 419.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006347/0.03392, allocations: 1.252 MB / 420.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.03415, allocations: 79.78 kB / 420.8 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.03418, allocations: 23.98 kB / 420.8 MB, free: 8.102 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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 (56): * Single equations (assignments): 52 * 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.0001696/0.03434, allocations: 271.5 kB / 421.1 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.0344, allocations: 55.67 kB / 421.1 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/0.03515, allocations: 0.5967 MB / 421.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03516, allocations: 4 kB / 421.7 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.03516, allocations: 0 / 421.7 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.03517, allocations: 3.984 kB / 421.7 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.03639, allocations: 1.123 MB / 422.8 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03639, allocations: 0 / 422.8 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.03658, allocations: 67.89 kB / 422.9 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.449e-05/0.03664, allocations: 20.84 kB / 422.9 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.03667, allocations: 12 kB / 422.9 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005974/0.03726, allocations: 1.26 MB / 424.2 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03727, allocations: 0 / 424.2 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.03851, allocations: 0.9529 MB / 425.1 MB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.03864, allocations: 87.61 kB / 425.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.03868, allocations: 11.98 kB / 425.2 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.03887, allocations: 55.89 kB / 425.3 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.03896, allocations: 35.94 kB / 425.3 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.03898, allocations: 11.94 kB / 425.3 MB, free: 3.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.03927, allocations: 366.9 kB / 425.7 MB, free: 2.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03927, allocations: 0 / 425.7 MB, free: 2.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006141/0.03989, allocations: 322.9 kB / 426 MB, free: 2.586 MB / 394.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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0007163/0.0406, allocations: 391.8 kB / 426.4 MB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.04207, allocations: 1.449 MB / 427.8 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.04207, allocations: 0 / 427.8 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.04246, allocations: 488.7 kB / 428.3 MB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.04285, allocations: 80.47 kB / 428.4 MB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.04462, allocations: 1.316 MB / 429.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.04485, allocations: 321.6 kB / 430 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.04495, allocations: 44.48 kB / 430.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.04495, allocations: 3.938 kB / 430.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01101/0.05596, allocations: 11.4 MB / 441.5 MB, free: 3.016 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.400068675167859] Failed to read output from testmodel.py, exit status != 0: 0.06240254919975996 0.25050619500000004 0.232185612 Calling exit ...