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.001187/0.001187, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001102/0.001102, allocations: 173 kB / 23.02 MB, free: 1.547 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.9585/0.9585, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02552/0.02552, allocations: 6.484 MB / 266.4 MB, free: 6.625 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 2.094e-06/2.094e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.982e-05, allocations: 4.844 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.00482/0.00485, allocations: 5.179 MB / 343.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.006968, allocations: 1.628 MB / 344.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.007409, allocations: 15.94 kB / 344.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.007836, allocations: 198.6 kB / 345.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.008432, allocations: 297.9 kB / 345.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.008953, allocations: 383.3 kB / 345.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006586/0.009611, allocations: 0.9857 MB / 346.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.01001, allocations: 364.3 kB / 347.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.01054, allocations: 0.573 MB / 347.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.01083, allocations: 351 kB / 348 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.0109, allocations: 104 kB / 348.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.01105, allocations: 155.9 kB / 348.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.01116, allocations: 219.3 kB / 348.5 MB, free: 308 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.01131, allocations: 295.2 kB / 348.8 MB, free: 12 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007831/0.0121, allocations: 0.6889 MB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0121, allocations: 0 / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.0121, allocations: 0 / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.01212, allocations: 0 / 349.5 MB, free: 15.32 MB / 282.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.001415/0.01353, allocations: 1.241 MB / 350.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01357, allocations: 8.031 kB / 350.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.01374, allocations: 156.4 kB / 350.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.01425, allocations: 486 kB / 351.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.01435, allocations: 110 kB / 351.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.01443, allocations: 76.38 kB / 351.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.01522, allocations: 0.6773 MB / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01524, allocations: 3.953 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.01528, allocations: 28 kB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.01529, allocations: 20 kB / 352.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.01574, allocations: 323.1 kB / 352.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.01795, allocations: 2.358 MB / 354.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.01843, allocations: 291.9 kB / 355.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.01858, allocations: 139.3 kB / 355.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.01861, allocations: 12.28 kB / 355.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.01896, allocations: 313 kB / 355.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.01896, allocations: 0 / 355.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007932/0.01976, allocations: 0.5534 MB / 356.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.01982, allocations: 136.5 kB / 356.4 MB, free: 8.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.0202, allocations: 0.4908 MB / 356.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.02023, allocations: 37.7 kB / 356.9 MB, free: 7.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.02045, allocations: 439.1 kB / 357.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.02052, allocations: 131 kB / 357.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.02064, allocations: 99.8 kB / 357.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.02079, allocations: 0.5352 MB / 358.1 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.02097, allocations: 182.7 kB / 358.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.02123, allocations: 350.7 kB / 358.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.02164, allocations: 480.7 kB / 359.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02165, allocations: 4 kB / 359.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005834/0.02223, allocations: 0.5973 MB / 359.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.02228, allocations: 93.09 kB / 359.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02229, allocations: 4 kB / 359.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.02242, allocations: 24.11 kB / 359.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.02272, allocations: 99.83 kB / 359.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009556/0.02367, allocations: 1.74 MB / 361.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.02389, allocations: 63.7 kB / 361.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.02392, allocations: 20.12 kB / 361.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002701/0.02419, allocations: 304.9 kB / 362 MB, free: 1.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00023/0.02442, allocations: 350.7 kB / 362.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003658/0.02479, allocations: 479 kB / 362.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.02479, allocations: 0 / 362.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005421/0.02533, allocations: 0.5807 MB / 363.4 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.02537, allocations: 93.09 kB / 363.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.02538, allocations: 4 kB / 363.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.426e-05/0.02545, allocations: 31.61 kB / 363.5 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.02564, allocations: 95.83 kB / 363.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.02636, allocations: 1.732 MB / 365.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.02656, allocations: 59.72 kB / 365.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.02659, allocations: 23.98 kB / 365.4 MB, free: 14.09 MB / 298.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.0001722/0.02676, allocations: 360 kB / 365.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.02682, allocations: 71.67 kB / 365.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.02731, allocations: 434 kB / 366.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02731, allocations: 4 kB / 366.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.02731, allocations: 4 kB / 366.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.02732, allocations: 3.984 kB / 366.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.02829, allocations: 0.9925 MB / 367.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.02829, allocations: 3.984 kB / 367.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.02846, allocations: 59.91 kB / 367.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.385e-05/0.02852, allocations: 23.67 kB / 367.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02855, allocations: 8 kB / 367.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006865/0.02923, allocations: 1.739 MB / 369.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02923, allocations: 0 / 369.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.02986, allocations: 0.7256 MB / 369.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.02998, allocations: 87.56 kB / 369.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.03001, allocations: 12 kB / 369.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.03017, allocations: 27.97 kB / 370 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.03026, allocations: 43.88 kB / 370 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.03028, allocations: 8 kB / 370 MB, free: 9.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.03052, allocations: 326.8 kB / 370.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03052, allocations: 0 / 370.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000622/0.03114, allocations: 318.9 kB / 370.6 MB, free: 8.555 MB / 298.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.0007991/0.03194, allocations: 349.2 kB / 371 MB, free: 8.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.03302, allocations: 1.321 MB / 372.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.03302, allocations: 4 kB / 372.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.03334, allocations: 467.6 kB / 372.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.0337, allocations: 93.34 kB / 372.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.03552, allocations: 1.215 MB / 374.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.0356, allocations: 149.7 kB / 374.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.03576, allocations: 51.25 kB / 374.3 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.03585, allocations: 48.48 kB / 374.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03585, allocations: 0 / 374.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of Templates: time 0.01108/0.04693, allocations: 7.411 MB / 381.7 MB, free: 13.37 MB / 314.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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.116794598288834]