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.001867/0.001867, allocations: 81.48 kB / 19.44 MB, free: 348 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.002036/0.002036, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.05266/0.05266, allocations: 6.496 MB / 266.1 MB, free: 6.656 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.835e-06/2.835e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.572e-05, allocations: 2.312 kB / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.005513/0.005539, allocations: 5.127 MB / 342.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.007884, allocations: 1.605 MB / 344.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.008293, allocations: 19.88 kB / 344.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.008705, allocations: 206.5 kB / 344.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.009293, allocations: 297.9 kB / 344.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.009857, allocations: 379.3 kB / 345 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.01049, allocations: 0.9896 MB / 346 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.01091, allocations: 344.4 kB / 346.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.01143, allocations: 0.5769 MB / 346.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.01179, allocations: 355 kB / 347.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.0119, allocations: 108 kB / 347.3 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01208, allocations: 147.9 kB / 347.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.01223, allocations: 223.2 kB / 347.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.01244, allocations: 299.2 kB / 348 MB, free: 444 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.01376, allocations: 1.172 MB / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01376, allocations: 0 / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.01376, allocations: 0 / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.01378, allocations: 0 / 349.1 MB, free: 15.26 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.002361/0.01614, allocations: 1.327 MB / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.01618, allocations: 12.03 kB / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.01645, allocations: 152.4 kB / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.01727, allocations: 490 kB / 351.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.01741, allocations: 110 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.01755, allocations: 72.38 kB / 351.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.01913, allocations: 0.8798 MB / 352.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.01916, allocations: 7.891 kB / 352.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.01923, allocations: 32 kB / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.01926, allocations: 19.98 kB / 352.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.02053, allocations: 0.5422 MB / 352.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.02531, allocations: 2.876 MB / 355.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/0.0263, allocations: 434.7 kB / 356.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.02673, allocations: 223.3 kB / 356.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.02678, allocations: 8.281 kB / 356.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.02748, allocations: 412.9 kB / 356.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.02748, allocations: 0 / 356.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001699/0.02918, allocations: 0.7719 MB / 357.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.02929, allocations: 140.5 kB / 357.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.03013, allocations: 0.6315 MB / 358.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.03018, allocations: 33.7 kB / 358.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.03065, allocations: 475 kB / 358.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.0308, allocations: 143 kB / 358.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.03101, allocations: 119.8 kB / 359 MB, free: 4.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/0.0314, allocations: 0.5743 MB / 359.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.03191, allocations: 266.7 kB / 359.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.03261, allocations: 458.7 kB / 360.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.03369, allocations: 0.6375 MB / 360.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.0337, allocations: 4 kB / 360.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001395/0.03509, allocations: 0.7614 MB / 361.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.03518, allocations: 93.53 kB / 361.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.03519, allocations: 8 kB / 361.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.03538, allocations: 39.59 kB / 361.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.03577, allocations: 87.89 kB / 361.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.03766, allocations: 1.779 MB / 363.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.03805, allocations: 71.73 kB / 363.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.03809, allocations: 23.98 kB / 363.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000694/0.03879, allocations: 448.9 kB / 364.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006632/0.03945, allocations: 446.7 kB / 364.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009884/0.04044, allocations: 0.62 MB / 365.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.04044, allocations: 11.98 kB / 365.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001303/0.04175, allocations: 0.7406 MB / 366 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/0.04183, allocations: 93.53 kB / 366.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.04183, allocations: 8 kB / 366.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.04194, allocations: 31.67 kB / 366.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.0423, allocations: 95.77 kB / 366.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.04384, allocations: 1.775 MB / 368 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.04423, allocations: 59.89 kB / 368.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.04427, allocations: 20 kB / 368.1 MB, free: 11.02 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.0003606/0.04463, allocations: 367.2 kB / 368.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.04476, allocations: 67.67 kB / 368.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.04634, allocations: 0.5799 MB / 369.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.04635, allocations: 4 kB / 369.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.04635, allocations: 0 / 369.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.04636, allocations: 0 / 369.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.04878, allocations: 1.317 MB / 370.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.04878, allocations: 0 / 370.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.04912, allocations: 55.91 kB / 370.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.04924, allocations: 31.67 kB / 370.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.04928, allocations: 8 kB / 370.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.05074, allocations: 1.775 MB / 372.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.05074, allocations: 0 / 372.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.05249, allocations: 1.007 MB / 373.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.05269, allocations: 91.5 kB / 373.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.05276, allocations: 12 kB / 373.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.05309, allocations: 31.97 kB / 373.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.05322, allocations: 39.94 kB / 373.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.05326, allocations: 8 kB / 373.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.05378, allocations: 402.8 kB / 373.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05378, allocations: 4 kB / 373.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009546/0.05473, allocations: 318.9 kB / 374.2 MB, free: 4.609 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.002456/0.05719, allocations: 394.1 kB / 374.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.05975, allocations: 1.619 MB / 376.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.05975, allocations: 0 / 376.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.06086, allocations: 0.5464 MB / 376.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.06155, allocations: 81.38 kB / 376.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.06412, allocations: 1.279 MB / 378.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.06451, allocations: 317.5 kB / 378.4 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.06477, allocations: 67.22 kB / 378.5 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.0649, allocations: 40.5 kB / 378.5 MB, free: 136 kB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.0649, allocations: 0 / 378.5 MB, free: 136 kB / 298.7 MB Notification: Performance of Templates: time 0.01599/0.08089, allocations: 7.133 MB / 385.6 MB, free: 9.074 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: 4.870447958004661]